[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect brace expansion
From: |
William Park |
Subject: |
Re: incorrect brace expansion |
Date: |
Sun, 29 Jan 2006 20:13:34 -0500 |
User-agent: |
Mutt/1.4.2.1i |
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 <opengeometry@yahoo.ca>, 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/
- Re: incorrect brace expansion, (continued)
- Re: incorrect brace expansion, Bob Proulx, 2006/01/28
- Re: incorrect brace expansion, Mike Frysinger, 2006/01/29
- Re: incorrect brace expansion, Bob Proulx, 2006/01/29
- Re: incorrect brace expansion, Mike Frysinger, 2006/01/29
- Re: incorrect brace expansion, William Park, 2006/01/29
- Re: incorrect brace expansion, Chris F.A. Johnson, 2006/01/29
- Re: incorrect brace expansion, William Park, 2006/01/29
- Re: incorrect brace expansion, Mike Frysinger, 2006/01/29
- Re: incorrect brace expansion, William Park, 2006/01/29
- Re: incorrect brace expansion, Mike Frysinger, 2006/01/29
- Re: incorrect brace expansion,
William Park <=
- Re: incorrect brace expansion, Chet Ramey, 2006/01/29