pkg_info question

Jim Trigg jtrigg at spamcop.net
Wed Jun 22 18:49:22 GMT 2005


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          / \



More information about the freebsd-questions mailing list