[plug] grep + xargs = missing separator?
James Devenish
devenish at guild.uwa.edu.au
Mon Sep 13 19:59:13 WST 2004
In message <5c99ee27040913045073a88e3 at mail.gmail.com>
on Mon, Sep 13, 2004 at 07:50:49PM +0800, Andrew Furey wrote:
> James Devenish wrote:
> > Is there a specific reason you aren't just using `grep -r`???
> > # grep -r -n -i -2 --binary-files=text "badmailfrom" /var/spool/exim/input
>
> The files are all in the one directory, so I don't need it to be
> recursive;
Andrew! Use -r! ;-) ;-P The -r flag means that grep will construct the
file list internally, thereby bypassing the whole command-line issue. It
*doesn't matter* that there is only one level of files -- the benefit is
the same.
More information about the plug
mailing list