On Wednesday 06 September 2006 05:04, Andreas Schwab wrote: > [EMAIL PROTECTED] (Paul Jarc) writes: > > Mike Frysinger <[EMAIL PROTECTED]> wrote: > >> this little bit of code doesnt work right: > >> foo() { echo "${1:-a{b,c}}" ; } > > > > Brace expansion happens before parameter expansion (man bash, > > EXPANSION). > > Brace expansion doesn't come into play here, because the braces are > quoted.
without quotes has the same behavior foo() { echo ${1:-a{b,c}} ; } -mike
pgp33m2mxSCoE.pgp
Description: PGP signature
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash