Bug 179081

Summary: Wrong expansion of a-{b{d,e}}-c
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ralston
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-27 12:04:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Horst H. von Brand 2006-01-27 02:39:47 UTC
Description of problem:
Sometimes when expanding braces non-expanded braces get lost.

Version-Release number of selected component (if applicable):
bash-3.1-5

How reproducible:
Dunno. Has happened a couple of times with constructions like this.

Steps to Reproduce:
1. echo a-{b{d,e}}-c
2.
3.
  
Actual results:
a-bd-c a-be-c

Expected results:
a-{bd}-c a-{be}-c

Additional info:

Comment 1 Tim Waugh 2006-01-27 12:04:13 UTC
Reported upstream.

Comment 2 James Ralston 2007-05-03 17:51:23 UTC
Just FYI: this is now fixed in Rawhide (bash-3.2-9.fc7 and possibly earlier).  I
know this because I was unwittingly depending on the incorrect behavior, and was
surprised when it "broke".  ;)