can grep use filenames from stdin?
Denis Vlasenko
vda.linux at googlemail.com
Sun Mar 18 13:18:06 PDT 2007
On Sunday 18 March 2007 20:32, Rogelio Serrano wrote:
> 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.
>
> does busybox xargs do that?
Do you really need mailing list to determine that?
# echo /* | xargs echo
/app /bin /bin.sv /boot /boot.conf /boot.shadow.conf /dev /etc /home /init /lib /mnt /proc /pub /root /sbin /sys /tmp /usr /var /wlan /wlan0 /wlan_adhoc
--
vda
More information about the busybox
mailing list