8 lines
133 B
Bash
8 lines
133 B
Bash
#!/bin/csh
|
|
if ($#argv == 4) then
|
|
cat $1 | grep -nE "$2|$3" | grep $4
|
|
else if ($#argv == 3) then
|
|
cat $1 | grep -nE "$2|$3"
|
|
endif
|
|
|