[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
extglob operators incorrectly handle literal parens
From: |
Alistair Happencross |
Subject: |
extglob operators incorrectly handle literal parens |
Date: |
Mon, 17 Oct 2005 04:46:05 +1000 |
I am using bash version 3.00.16(1)-release on Mac OS X.
The problem is that literal parentheses are not matched correctly when
they are specified inside extglob operators. Normal (non-extended)
patterns are fine:
$ touch foo\(
$ ls foo\(
foo(
But extended globbing doesn't work right:
$ shopt -s extglob
$ ls @(foo\()
ls: @(foo(): No such file or directory
Same error with the other extglob operators ?(), *(), +() and !().
Alistair
_________________________________________________________________
Access your Hotmail straight from your i-mode mobile
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DTEL175%2E16267%2E0&_t=751223833&_m=EXT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- extglob operators incorrectly handle literal parens,
Alistair Happencross <=