Randall R Schulz pecked at the keyboard and wrote:
> 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.
> 

Learn something new every week, used to be everyday but I'm retired now
and don't want the pressure.

Thanks.

-- 
Ken Schneider
SuSe since Version 5.2, June 1998
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to