Eric Blake <[EMAIL PROTECTED]> writes:

> According to Andreas Schwab on 4/18/2007 4:01 AM:
>> Lucas Nussbaum <[EMAIL PROTECTED]> writes:
>> 
>>> Well, no, because bash expands *parameters*, not words. So the prefix is
>>> "<(cat /etc/", and the suffix is ")".
>> 
>> But that would not be a *strict textual* expansion.
>
> According to 'man bash', brace expansion is documented as being able to
> expand one word into many.

The documentation talks about strings, not words.

> <(...) forms a single word, even when ...  contains unquoted spaces.

That requires syntactic interpretation to the context of the expansion,
which is explicitly excluded.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

Reply via email to