bug-coreutils
[Top][All Lists]
Advanced

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

Re: sha*sum and filenames with backslashes


From: Eric Blake
Subject: Re: sha*sum and filenames with backslashes
Date: Wed, 04 Jul 2007 15:51:26 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Geoff Kuenning on 7/3/2007 6:01 PM:
> When the *sum family of programs are given a filename that contains
> a backslash, a spurious backslash is given at the beginning of the
> output line.
> 
> This appears to be a feature, since it's explicitly in the code.
> However it isn't documented, which can cause surprises for programs
> that expect to parse the output of *sum.

This was previously brought up, and a documentation patch was provided in
time for coreutils 6.9.
http://lists.gnu.org/archive/html/bug-coreutils/2007-03/msg00173.html

Sounds like you need to upgrade.

[However, this does point out that I have not yet had time to focus on my
patch for getting \r to be treated like \\ and \n in the *sum output.]

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGjBZe84KuGfSFAYARAp1JAJ0cbwfM7rsusC6r6u+D25xkYKkHlwCeIZqb
qhl73wJImcTZEe1VRRgd1FU=
=HNA4
-----END PGP SIGNATURE-----




reply via email to

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