[Top][All Lists]

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

Re: [Gnu-arch-users] Re: File naming conventions

From: Miles Bader
Subject: Re: [Gnu-arch-users] Re: File naming conventions
Date: Mon, 18 Oct 2004 20:49:10 -0400
User-agent: Mutt/1.3.28i

On Mon, Oct 18, 2004 at 08:40:04PM -0400, Miles Bader wrote:
> > Isn't this only true if you used the -0 flag?
> No.  Think about it -- why would xargs have problems with whitespace?  It
> uses newline-separated records as its input (so other whitespace is fine),
> and it uses execv or whatever to invoke its command (Which Uses An Argv
> Interface For Arguments, And So Has No Problems With Whitespace, Or Newlines
> For That Matter).

Er, cancel that -- as Dustin points out in a later message, I was wrong:
xargs seems to treats any whitespace as a separator, not just newlines.

I'm truly shocked actually; it's a completely stupid things for xargs to do.
Maybe xargs originally came from system-v instead of bell-labs... :-/

Now excuse me while I wipe this egg off my face...

*This is the cute octopus virus, please copy it into your sig so it can spread.

reply via email to

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