On Thu, 2004-05-27 at 00:25, Stephen Gran wrote:
> Does anyone know the POSIX standard well enough to know if this is a 
> bug in dash, or a bashism?

$ touch a1
$ bash
$ echo a[[:digit:]]
a1
$ dash
$ echo a[[:digit:]]
a[[:digit:]]
$ posh
$ echo a[[:digit:]]
a1

The posh shell is supposed to be strictly POSIX and it accepts
'[[:digit:]]', so I guess this is a bug in dash.
-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to