Steve Gulick wrote:
>
> I wrote a bash search script that creates a directory named after the search
> word and greps all the files and copies the ones that match to the new
> directory and generates a printed output of the file. To make a very long
> story short I have about 150 more searches to perform and each one takes
> between 10 and 15 mins searching over 12,000 files. This is the first bash
> script I have evr written and I am sure it could be done better but it works
> for me for now. What I really need is a quick and dirty way for the script
> to pull the search words from a list so that I can go home tonight :)
>
Something like
for i in `cat searchlist`; do {
mysearchscript $i
}
done
Should work
HTH
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list