can grep use filenames from stdin?

Rogelio Serrano rogelio.serrano at gmail.com
Sun Mar 18 12:32:56 PDT 2007


On 3/19/07, Paul Fox <pgf at brightstareng.com> wrote:
>  >
>  > 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
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>

does busybox xargs do that?

-- 
the thing i like with my linux pc is that i can sum up my complaints in 5 items


More information about the busybox mailing list