[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
incorrect brace expansion when using default values
From: |
Mike Frysinger |
Subject: |
incorrect brace expansion when using default values |
Date: |
Tue, 5 Sep 2006 18:36:57 -0400 |
User-agent: |
KMail/1.9.4 |
this little bit of code doesnt work right:
foo() { echo "${1:-a{b,c}}" ; }
$ foo
a{b,c}
$ foo 1
a}
tested with bash-3.1.17
-mike
pgpQZj8MeGtKH.pgp
Description: PGP signature
- incorrect brace expansion when using default values,
Mike Frysinger <=
- Re: incorrect brace expansion when using default values, Paul Jarc, 2006/09/05
- Re: incorrect brace expansion when using default values, Mike Frysinger, 2006/09/05
- Re: incorrect brace expansion when using default values, Andreas Schwab, 2006/09/06
- Message not available
- Re: incorrect brace expansion when using default values, Chris F.A. Johnson, 2006/09/07
- Re: incorrect brace expansion when using default values, Tatavarty Kalyan, 2006/09/07
- Re: incorrect brace expansion when using default values, Alexander Elgert, 2006/09/07
- Re: incorrect brace expansion when using default values, Tatavarty Kalyan, 2006/09/07
- Re: incorrect brace expansion when using default values, Alexander Elgert, 2006/09/08
- Re: incorrect brace expansion when using default values, Chet Ramey, 2006/09/08