Bug 179081 - Wrong expansion of a-{b{d,e}}-c
Summary: Wrong expansion of a-{b{d,e}}-c
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-27 02:39 UTC by Horst H. von Brand
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-27 12:04:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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".  ;)



Note You need to log in before you can comment on or make changes to this bug.