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

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

Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished


From: Tom Lord
Subject: Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished
Date: Mon, 15 Mar 2004 15:03:58 -0800 (PST)


    > From: address@hidden

    > On Mon, Mar 15, 2004 at 04:11:15AM +0000, David A. Wheeler wrote:
    > > Er, sorry, I guess I wasn't clear.  I understand why you'd need
    > > escape sequences when the filename is embedded in something else,
    > > that wasn't my question. When the output is ONLY a list of files,
    > > the escaping seems excessive, because it complicates shell scripting.

    > Filenames may contain newlines.  Now *that* complicates shell scripting.

    > Perhaps the escaped version should have an option to zero-terminate
    > a la gnu find/xargs.

The escaping plan we worked out (I trust but haven't yet verified it's
been implemented) is sound.  `cut(1)' will always work.   `xargs(1)'
(sans patches to support our definitively correct escaping plan) won't
always work.   Embedded null-characters (in spite of their never
occuring in nature) wouldn't screw it up.   zero-termintation might
much later be useful as this-or-that convenience option, but isn't
needed in any deep sense.


-t





reply via email to

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