On Monday 24 December 2007 11:10, Ken Schneider wrote: > ... > > cat file.txt | grep -i "word" might work if you onlt need to know if > the "word" exists in the file.
Oy. That recipe is functionally identical to 'grep -i "word" file.txt', complicated only by the overhead of pushing everything through a pipe. The "-l" option is specifically there to modify the greps' operation in the manner you suggest. > -- > Ken Schneider Randall Schulz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]