[ale] need a simple shell script

Geoffrey esoteric at 3times25.net
Mon Mar 14 17:08:53 EST 2005


Armsby John-G16665 wrote:
> 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.

I want to make sure I know what you're looking to do.

find all html files that have 'verified' in their name and contain '04' 
in the contents?

OR are you looking for all the html files that contain 'verified' and 
'04' in the content of the file?

-- 
Until later, Geoffrey



More information about the Ale mailing list