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: Miles Bader
Subject: Re: [Gnu-arch-users] Re: File naming conventions
Date: Mon, 18 Oct 2004 20:40:04 -0400
User-agent: Mutt/1.3.28i

On Mon, Oct 18, 2004 at 07:29:19PM -0500, John Meinel wrote:
> >Slightly off-topic, but xargs doesn't have any problem with typical
> >whitespace in file names; the main issue is _newlines_ in filenames.
> 
> 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).

The -0 flag solves the newline problem (if you use a file-name generating
tool that knows about it).

-Miles
-- 
Next to fried food, the South has suffered most from oratory.
                        -- Walter Hines Page




reply via email to

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