[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xargs feature request...

From: Bob Proulx
Subject: Re: xargs feature request...
Date: Sat, 16 Apr 2005 01:11:29 -0600
User-agent: Mutt/1.5.9i

Linda A. W. wrote:
> It would be nice if xargs had an option to enclose the arguments it reads
> in in either double or single quotes before passing them to a program.
> This would be especially useful for files with "spaces" in them.
> :-)

Trying to quote files with spaces is troublesome.  What about
filenames with quotes in them?

It is better to use the zero terminated string features of xargs.
Zero terminated strings do not suffer from problems with interesting
characters in filenames.


  find . -type f -print0 | xargs -r0 ls -ld


reply via email to

[Prev in Thread] Current Thread [Next in Thread]