can grep use filenames from stdin?

Paul Fox pgf at brightstareng.com
Sun Mar 18 18:55:14 UTC 2007


 > 
 > yes but xargs will spawn grep for each file and grep will then compile
 > the pattern everytime.

no, that's wrong.  part of the point of xargs is to run the
command as few times as possible, while keeping the number of
arguments to the command under the system's command-length limit.

paul
=---------------------
 paul fox, pgf at brightstareng.com



More information about the busybox mailing list