[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect brace expansion
From: |
Chet Ramey |
Subject: |
Re: incorrect brace expansion |
Date: |
Sun, 29 Jan 2006 21:19:33 -0500 |
User-agent: |
Thunderbird 1.5 (Macintosh/20051201) |
William Park wrote:
>> 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. :-)
Don't bother, I already fixed it. When I fixed the problems with braces
that don't begin a valid brace expansion sequence, it was easy to change
the behavior you're arguing about. The old csh-compatible behavior will
be available with a #define.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: incorrect brace expansion, (continued)
- 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, 2006/01/29
- Re: incorrect brace expansion,
Chet Ramey <=