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.
