[ale] need a simple shell script
Geoffrey
esoteric at 3times25.net
Mon Mar 14 17:41:45 EST 2005
Armsby John-G16665 wrote:
> OK, I think this does it....
>
> find ExternalDocuments_dir -name *.html | xargs grep -i '04' | grep -i verified
1. You should put single quotes around '*.html'
2. -i for 'grep -i '04' makes no sense, -i is ignore case.
3. this might have a side effect you don't expect. the final grep will
match both data from the files as well as file names, for example:
verified.html will match if it contained 04
foo.html will match if it contains 04 and verified on the same line
--
Until later, Geoffrey
More information about the Ale
mailing list