Andreas Schwab wrote:
mwoehlke <[EMAIL PROTECTED]> writes:

...but doesn't that mean that '{"x,x"}' should expand as '{x,x}'

It does.

Huh?

$ echo {"x,x"} # expected result: '{x,x}'
x,x
$ echo $BASH_VERSION
3.1.17(3)-release

That doesn't look like '{x,x}' to me... it looks like 'x,x', which by my reading is wrong.

If I had to guess, I'd say bash sees the {}'s, and incorrectly decides to do brace expansion based on the *quoted* comma... but when it actually does expansion, it gets the (correct) result 'x,x', except that now the {}'s have been incorrectly removed.

--
Matthew
"What's Cygwin?" you ask.
'Tis mostly absurd software
Concerning hippos.



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to