From: kevin lyda (kevin at domain suberic.net)
Date: Fri 27 Aug 1999 - 10:10:26 IST
valen at domain tuatha.org spoke thusly:
>On Thu, Aug 26, 1999 at 04:51:06PM +0100, Padraig Brady mentioned:
>> > Maybe rgrep -r is what you want.
>> find . -name '*' | xargs grep "word"
>
> Right. What's the story with xargs. What's wrong with;
>
>$ grep word `find . -name '*' `
>
> I've **never** had to use xargs....
<begin grandpa mode>
back in my day i worked on sunos and sco boxes. both has obscenely small
limits to the size of the environment and commandline - sco being the
worst. in fact, it was sco's commandline length limits that drove me
to linux to begin with.
you lucky youngsters with your multi-megabyte argv's and environ's.
<insert reindeer running over grandpa>
</end grandpa mode>
and what's with this -name '*' directive to find. why run find on dirs?
what's wrong with -type f? not only does it just feed grep files, it's
two, count 'em, two less chars!
kevin "doritos for breakfast make me feisty!" lyda
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:30 GMT