[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines |
Date: |
Fri, 01 Nov 2013 18:02:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 11/01/2013 05:39 PM, Eric Blake wrote:
> On 11/01/2013 10:29 AM, Pádraig Brady wrote:
>> This should be fully backwards and forwards compatible with previous
>> escaping, since we'll never have a file name at the start of a line,
>> thus '\' at the start of a line always means the file name is escaped.
>
> This feels like it could be a step in the wrong direction to me. I've
> been arguing that we need to escape file names containing \r, for the
> sake of people that transmit files with \r\n line endings compared to
> files that contain a literal trailing \r.
I can see the need for that yes.
Though I don't think avoiding the redundant escaping
of file names with just '\' characters would impact that?
thanks,
Pádraig.
Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines, Eric Blake, 2013/11/01
- Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines,
Pádraig Brady <=