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

[ale] need a simple shell script



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