Package: coreutils Version: 5.2.1-2 Severity: normal
say I have a certain file with a name that has a space in it such as "test 1.file" now, I want to compute the sha1 sum of this file, so I can do sha1sum "test 1.file" and I get an expected sha1sum for the file. now say i want to compute a list of the sha1 sums of all files in a directory, some of which may contain spaces. in particular, for this example, i'll look at the sum of my example file with sha1sum $(ls -Q "test 1.file") where ls -Q "test 1.file" produces "test 1.file" as output, which appears to be the exact same text that I manually entered in the first example. however, the output of that command is "test: No such file or directory 1.file": No such file or directory this, I believe is incorrect behavior. i would expect the same sha1 sum as in the first example to be generated. note that sha1sum can be replaced by md5sum in the above examples and the same behavior will be observed. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.7-1-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages coreutils depends on: ii libacl1 2.2.23-1 Access control list shared library ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]