valen at 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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!