Hey, I think I found the reason while sleeping :) The pattern [A-Z] always excludes lowercase a, and:
$ ls [a-z]* matches all files starting with any letter *except* the ones starting with uppercase Z (under most locales I've tested). It can be argued to be correct behaviour, but certainly counterintuitive IMHO. Should this bug be changed to a wishlist for an explicit notice in manual page? -- Pattern matching gives unexpected results https://bugs.launchpad.net/bugs/553660 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