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



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to