Package: coreutils Version: 6.10-6 Severity: normal File: /bin/ls The -b option says:
print octal escapes for nongraphic characters
and -F says:
append indicator (one of */=>@|) to entries
When those two appear together, weird things happen to the
characters in the set quoted for -F in filenames:
% touch foo{\*,=,\>,@,\|}{,bar}
% ls
foo= foo> foo| foo@ foo* foo=bar foo>bar foo|bar [EMAIL PROTECTED]
foo*bar
% ls -b
foo= foo> foo| foo@ foo* foo=bar foo>bar foo|bar [EMAIL PROTECTED]
foo*bar
% ls -F
foo= foo> foo| foo@ foo* foo=bar foo>bar foo|bar [EMAIL PROTECTED]
foo*bar
% ls -bF
foo\= foo\| foo* foo\>bar [EMAIL PROTECTED]
foo\> foo\@ foo\=bar foo\|bar foo*bar
It doesn't really make sense for this to be triggered only when -b
is given, since none of the characters are non-graphical and none of
the escaped sequences are octal.
However, I think it does make sense to escape those characters at
the end of a filename when -F is given, regardless of whether -b
also appears. Yet, those characters don't need to be escaped in the
middle of the filename, since -F would never be able to cause that
to happen.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages coreutils depends on:
ii libacl1 2.2.47-2 Access control list shared library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libselinux1 2.0.59-1 SELinux shared libraries
coreutils recommends no packages.
-- no debconf information
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

