Thank you for opening this bug and helping make Ubuntu better. This is not an error; even if it were to be an error, it would be an error on the shell you are using (e.g., bash). This is caused by shell filename expansion (a.k.a. globbing). The shell correctly expanded all entries ending in a digit -- including the soft link /usr/bin/X11...
What happens here is the package x11-common installs the directory '/usr/bin/X11' as a soft link to '/usr/bin'. So, when you run 'ls *[0-9]', the shell expands '*[0-9]' to all possible matches -- including ../X11! Since /usr/bin/X11 is a soft link to /usr/bin, 'ls' then lists *all* of /usr/bin... An easy test: cd /tmp % mkdir test % touch test/a test/b test/c % cd test % ls * a b c % ln -s . test1 % ls a b c test1 % ls * a b c test1: a b c test1 Now, not listing the symbolic link: % ls -d a b c test1 % As such, closing INVALID. Please do not hesitate in opening any new bugs you may encounter. ** Changed in: coreutils (Ubuntu) Status: New => Invalid -- ls pattern matching listing incorrect files https://bugs.launchpad.net/bugs/443250 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs