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: Jan Hudec
Subject: Re: [Gnu-arch-users] ANNOUNCE: Spaces in filenames, finished
Date: Tue, 16 Mar 2004 10:50:53 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Tue, Mar 16, 2004 at 09:12:25 +1100, address@hidden wrote:
> 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.

Though does not make impossible -- IIRC the read builtin has un-quoting
capability, so when you use read + looping constructs + proper quoting
conversion, it's doable.

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

They should have unquoting capability instead ;-).

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>

Attachment: signature.asc
Description: Digital signature


reply via email to

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