[Top][All Lists]
[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
Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, David A. Wheeler, 2004/03/14
Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, David A. Wheeler, 2004/03/14
- [Gnu-arch-users] Re: ANNOUNCE: Spaces in filenames, finished, Miles Bader, 2004/03/15
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, mlh, 2004/03/15
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished,
Tom Lord <=
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, Jan Hudec, 2004/03/16
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, Tom Lord, 2004/03/16
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, Jan Hudec, 2004/03/18
- Message not available
- Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished, Jan Hudec, 2004/03/17