PPC Power Macintosh powerpc
Machine Type: powerpc-apple-darwin8.0
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
Curly braces expansion only works with at least one comma
(,). This also works, if the appears at least once
inside some apostrophes and has no function.
Repeat-By:
reuti@defiant:~> bash --version
GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin8.0)
Copyright (C) 2002 Free Software Foundation, Inc.
reuti@defiant:~> echo {"x x"} # No {} in output expected.
{x x}
reuti@defiant:~> echo {"xx"} # No {} in output expected.
{xx}
reuti@defiant:~> echo {"xx","yy"} # Works fine.
xx yy
reuti@defiant:~> echo {"x,x"} # Add a comma to get it
working, i.e. remove the {}.
x,x
reuti@defiant:~>
Also this seems to be strange:
reuti@defiant:~> echo {"klklkl"} {1,2,3} # Only second {}
works correctly.