On Sun, Jan 29, 2006 at 07:35:32PM -0500, Mike Frysinger wrote:
> On Sunday 29 January 2006 19:23, William Park wrote:
> > Let's see...
> >     a-{b{d,e}}-c
> >     a-{bd,be}-c
> 
> i'm pretty sure the commas are consumed in the expansion
> 
> side note, this also fails:
> $ echo {a}{b,c}
> {a}{b,c}
> -mike

But,
    echo {b,c}{x}
prints the correct result,
    b{x} c{x}

Well, gentlemen, we've found a bug.  Anyone sending in a patch?  I don't
use multiple braces that often, so it doesn't bother me. :-)

-- 
William Park <[EMAIL PROTECTED]>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
           http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
          http://freshmeat.net/projects/bashdiff/


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

Reply via email to