With dash, when I do "ls [![:digit:]*", dash will also show files starting with
a numeral:
$ ls -la
insgesamt 0
drwxr-xr-x 2 alexander alexander 80 2. Oct 19:48 .
drwxrwxrwt 7 root root 220 2. Oct 19:47 ..
-rw-r--r-- 1 alexander alexander 0 2. Oct 19:47 42
-rw-r--r-- 1 alexander alexander 0 2. Oct 19:48 wort
$ ls -la [![:digit:]]*
-rw-r--r-- 1 alexander alexander 0 2. Oct 19:47 42
-rw-r--r-- 1 alexander alexander 0 2. Oct 19:48 wort
This should not happen - and on bash, it doesn't happen.
Attached patch fixes this issue - I got this from upstream (Herbert Xu):
That's definitely a bug. I've fixed it in the git tree with
the following patch. Thanks for pointing this out.