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.

Example:

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

Bob


_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to