[ale] need a simple shell script

John Wells jb at sourceillustrated.com
Tue Mar 15 14:12:37 EST 2005


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



More information about the Ale mailing list