coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines


From: Eric Blake
Subject: Re: [PATCH] md5sum, sha*sum: only escape file names containing newlines
Date: Fri, 01 Nov 2013 11:39:37 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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