Enrique Perez-Terron wrote: > > On Sun, 16 Oct 2005 17:10:48 +0200, <[EMAIL PROTECTED]> > posted on comp.unix.shell: > >> I have a problem that I'm trying to solve with the help of extended >> globbing. It doesn't work, and so I've narrowed down the buggy bit to a >> simple, illustrative example. >> >> I need to match literal parentheses in a globbing pattern. Normally it >> works OK: >> >> $ touch foo\( >> $ ls foo\( >> foo( >> >> But with extglob operators, I cannot match parentheses. Here is a very >> simple example: >> >> $ shopt -s extglob >> $ ls @(foo\() >> -bash: syntax error near unexpected token `(' > > > I get a different result, but still not as I would expect:
Looks like a bug. I'll take a look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash