can grep use filenames from stdin?
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Sun Mar 18 17:12:02 UTC 2007
On Sun, Mar 18, 2007 at 04:06:36PM +0800, Rogelio Serrano wrote:
> can we make grep get filenames from stdin like:
>
> find . -name \*.c | grep -l -e somepattern
find . -name \*.c | xargs -r grep -l -e somepattern
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070318/da47ad95/attachment-0002.pgp
More information about the busybox
mailing list