On Wed, June 22, 2005 2:13 pm, Björn König said:
> Thus I can search a file with
>
>    cat /path/to/somewhere | xargs grep 'pattern'

You can avoid wasting a process by using the following instead:

   xargs grep 'pattern' < /path/to/somewhere

Jim
-- 
Jim Trigg, Lord High Everything Else  O-   /"\
Hostmaster, Huie Kin family website        \ /  ASCII RIBBON CAMPAIGN
Verger and System Administrator,            X    HELP CURE HTML MAIL
All Saints Church - Sharon Chapel          / \

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to