GNU bug report logs -
#23277
md5sum: Output broken when filename contains \n
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I observe a strange behaviour for {md5,sha1,sha512}sum on RHEL 6.7:
# sha512sum dat_files/1.000e-01*dat
a66f6f8f8da256d07330a17bea942bba9584e182799dce2a42bc7e882d4d9267c40568644d7f5b63128b286a6393764fc599cc30f687b8dacf86e0a96d87795c
dat_files/1.000e-01.dat
\a66f6f8f8da256d07330a17bea942bba9584e182799dce2a42bc7e882d4d9267c40568644d7f5b63128b286a6393764fc599cc30f687b8dacf86e0a96d87795c
dat_files/1.000e-01\n.dat
The second file has \n in the name and the output gets a backslash prepended which looks wrong to me.
Kind regards,
Ulrich Sibiller
--
Vorstandsvorsitzender/Chairman of the board of management:
Dr. Martin Matzke
Vorstand/Board of Management:
Johannes Barthmes, Yvonne Veyhelmann
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Aufsichtsrat/Supervisory Board:
Martin Wibbe, Winfried Holz
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
This bug report was last modified 9 years and 44 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.