On 05/31/2011 01:03 AM, Alan Curry wrote:
> Theo Band writes:
>> Hi
>>
>> I'm not sure, but I think I found a bug in sha1sum. It's easy to
>> reproduce with any file that contains a backslash (\) in the name:
>> echo test > test
>> $ sha1sum te
7;
$ sha1sum 'test\test'
\4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 test\\test
I expect the file sha1sum to be the same after renaming the file (a
backslash is prepended to the otherwise correct result).
sha1sum --version
sha1sum (GNU coreutils) 5.97
coreutils-5.97-23.el5_6.4
Kind regards,
Theo