[plug] Limits of grep?

Raven ian.kent at pobox.com
Thu Oct 5 23:09:27 WST 2000



Subba Rao wrote:

>
> Are there any other recommended tools to search through such large list of
> files?
>

Have a look at xargs

You can pipe the output from find to xargs to run grep with the number of
arguments some number less than the maximum. Say 10 or 50 ....?

Should be more efficient than doing a grep for each file name.

--
   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: ian.kent at pobox.com, raven at plug.linux.org.au
        v    Web: http://pobox.com/~ian.kent





More information about the plug mailing list