Package: coreutils
Version: 5.2.1-2
Severity: normal
File: /bin/ls

Beeing in /etc I type "ls foo*".
I am expecting too get all files/directories whose name begins with "foo". 
What I get is this:
[EMAIL PROTECTED]:/etc$ ls foo*
defaultspooler  direct  filter.conf
None of this three files/directories begins with "foo".

The program "ls" actually lists all files/directories, being in the directory 
"foomatic". 


Suggested solution: 

When ls finds more then one matching file/directory it lists the name of the 
found 
directory too. 
ls should do this also when it finds only one matching directory. 
The output should look like this: 

[EMAIL PROTECTED]:/etc$ ls foo*
foomatic:
defaultspooler  direct  filter.conf


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

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]

Reply via email to