bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

incorrect brace expansion


From: Tim Waugh
Subject: incorrect brace expansion
Date: Fri, 27 Jan 2006 12:08:31 +0000
User-agent: Mutt/1.4.2.1i

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4 
-fasynchronous-unwind-tables
uname output: Linux gene.surrey.redhat.com 2.6.13-1.1597_FC5 #1 Thu Oct 6 
02:13:06 EDT 2005 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.1
Patch Level: 5
Release Status: release

Description:
        This --> a-{b{d,e}}-c <-- gets wrongly expanded.  There is one
        brace expansion expression there, surrounded by braces not
        formating a brace expansion expression.

Repeat-By:
        echo a-{b{d,e}}-c

        Should get: a-{bd}-c a-{be}-c
        but actually get: a-bd-c a-be-c

Original bug report:
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179081

Tim.
*/

Attachment: pgpBBrrPAu6Bd.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]