[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] need a simple shell script



Armsby John-G16665 said:
> Guys,
>
> I am embarassed to admit my ignorance but a need a shell script to do the
> following.
>
> 1.  find *.html files (recurse) in a particular folder. pipe it to:
> 2.  grep -i 'verified'   pipe it to:
> 3.  grep 04
> 4.  Print the path and filename of the file which meets criteria 1,2,3.

find /path -name "*.html" | xargs grep -li verified | xargs grep -l 04