bug-coreutils
[Top][All Lists]
Advanced

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

bug#16245: sha1sum - probable bug.


From: Pádraig Brady
Subject: bug#16245: sha1sum - probable bug.
Date: Tue, 24 Dec 2013 21:12:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

tag 16245 notabug
close 16245
stop

On 12/24/2013 11:11 AM, Dev Rana wrote:
> 
> I'm not sure if this is a bug or a feature, but it appears that sha1sums
> of files with control characters in their names, are printed with a "\"
> at the front of the sum.  Here are two examples:
> 
> \65f13e107d10014321f7bb92e4560d1087289024  
> ~/.local/share/gvfs-metadata/label-Acres\\x20USA\\x202011
> 
> or
> 
> \ec16ddba7d74c5c766da7c0a8d5dff5e6eb93136  ~/Mail/Re: By the way ...\n
> 
> I can't find this happening for files with normal names.

'\' in a file name causes the name to be prepended with \
Now this isn't strictly necessary, and we considered changing it the last 
release:
http://lists.gnu.org/archive/html/coreutils/2013-11/msg00008.html
However we decided not to change the current behavior for compat reasons
detailed in that thread.

thanks,
Pádraig.






reply via email to

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