On Fri, Apr 22, 2005 at 01:57:59PM -0700, Linda A. W. wrote:
> The only thing I would have as a problem in "$@" is if I had double
> quotes in a file name somewhere.
That should work too for shell scripts, but the problem is that
"xargs" doesn't cope with it (because the quote processing follows
Yep...so I was told...or, RTFM as I might say...(*appropriately flogging self*)
:-)
The only thing I would have as a problem in "$@" is if I had double quotes in
a file name somewhere. So then -print0/-0 seem to be the best options for
passing filenames...
thanks...
Linda
Bob Proulx wrote:
Linda
Linda A. W. wrote:
> I think this has been the case a few times. As for worrying about
> quotes within my filenames, yes, it could be a concern, but quotes in
> file
> names are less likely than spaces in my usage.
But that is just trading one problem for the same problem with a
dif
James Youngman wrote:
The program run by xargs is invoked directly with execvp(), and so the
arguments are not processed by the shell at all. This means that
spaces and other special characters in the file names (if they are
file names) are not treated specially at all. For this reason it
should
On Fri, Apr 15, 2005 at 03:17:06PM -0700, 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.
> :-)
The program
On 2005-04-16 "Linda A. W." <[EMAIL PROTECTED]> 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.
> :-)
[...]
Actually it w
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. Wha
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.
:-)
Thanks,
Linda
___
Bug-findutils mailing