[Gllug] shell quoting problem

- Tethys tethys at gmail.com
Thu Jul 3 15:30:24 UTC 2008


On Thu, Jul 3, 2008 at 4:14 PM, Nix <nix at esperi.org.uk> wrote:

> locate -0 "John Smith" | xargs -0r ls -l

Oooohhh. xargs -r. Very handy. When did that appear? I've been using
/dev/null since the dawn of time, so I didn't realise there was a less
kludgy way of doing it now.

Tet

-- 
Perl is like vise grips. You can do anything with it but it is the
wrong tool for every job. -- Bruce Eckel
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list