On Sun, 03 Apr 2005 23:34:00 +0100, Steve Lilly was saying :

> Dear GNU,
> 
> I was testing one of my own scripts for robustness against exotic 
> filenames containing "\" when I noticed a peculiar behaviour from the 
> md5sum utility (version 5.2.1). To demonstrate:
> 
> [EMAIL PROTECTED] test]$ touch test\\test
> [EMAIL PROTECTED] test]$ ls
> test\test
> [EMAIL PROTECTED] test]$ md5sum *
> \d41d8cd98f00b204e9800998ecf8427e  test\\test
> 
> I have tried this with bash and tcsh. ls confirms the file has a single 
> \ character. It appears (to me at least) that md5sum is escaping the \ 
> to \\, but I'm baffled as to the extra \ at the beginning of the hash!

Here I have coreutils 5.2.1, debian 3.1 unstable, bash 3.00.16(1)
and I can not reproduce your problem. The hash value is correct and
without the \ at the beginning.

Please could you tell us which is your system and bash version ?
 
> Regards,
> Steve Lilly

Regards,
Olivier Delhomme.

Attachment: pgphbwwQ8Oavk.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to