bug#8766: Bug in sha1sum?

2011-05-31 Thread Theo Band
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

bug#8766: Bug in sha1sum?

2011-05-30 Thread Theo Band
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