Subject: Re: groff-1.16.1 reach-over
To: John Hawkinson <jhawk@MIT.EDU>
From: Andrew Brown <firstname.lastname@example.org>
Date: 04/17/2001 20:40:28
>| of course, you can always do this:
>| # cd /usr/src
>| # find . -name Makefile | xargs grep ^.PATH | grep cksum
>You should never use xargs like that, because it might call
>grep with only one argument in which case a filename would not be
>printened. Instead, use
> find . -name Makefile | xargs grep ^.PATH /dev/null | grep cksum
actually...there's the -H option to grep to work around that (the
complement of -h) but in this particular case, -l is probably more
useful. the output of grep is (possibly) not altogether complete, so
simply knowing the filename is better.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."