bug-bash
[Top][All Lists]
Advanced

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

Re: brace expansion broken


From: William Park
Subject: Re: brace expansion broken
Date: Wed, 29 Sep 2004 12:07:48 -0400
User-agent: Mutt/1.4.2i

On Tue, Sep 28, 2004 at 10:47:59PM -0400, agriffis@gentoo.org wrote:
> Bash Version: 3.0
> Patch Level: 13
> Release Status: release
> 
> Description:
>       Brace expansion is broken in some cases when it follows quoted
>       text.
> 
> Repeat-By:
>       #
>       # WORKING cases
>       #
> 
>       $ D=W
>       $ echo W{illy,onka}       => Willy Wonka
>       $ echo ${D}{illy,onka}    => Willy Wonka
>       $ echo "W"{illy,onka}     => Willy Wonka
>       $ echo "$D"{illy,onka}    => Willy Wonka
> 
>       #
>       # BROKEN case: variable with braces inside quotes
>       #
> 
>       $ D=W
>       $ echo "${D}"{illy,onka}  => W{illy,onka}

It works in Bash-3.0 (0 patch) though... :-)

-- 
William Park <opengeometry@yahoo.ca>
Open Geometry Consulting, Toronto, Canada




reply via email to

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