gnu-arch-users
[Top][All Lists]
Advanced

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

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


From: Zenaan Harkness
Subject: Re: [Gnu-arch-users] Re: File naming conventions
Date: Tue, 19 Oct 2004 14:02:50 +1000

On Tue, 2004-10-19 at 10:49, Miles Bader wrote:
> 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...

We can thank Daniel Bernstein (djbdns etc) for introducing these
options to both find and xargs. It is in fact a surprisingly
recent development ... Windows<->Unix convergence thing
(SAMBA servers I guess).




reply via email to

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