24 Dec
2007
24 Dec
'07
19:33
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org