> ---------------------------------------------------------------------- 
>  (0003976) chet_ramey (reporter) - 2018-04-20 13:30
>  http://austingroupbugs.net/view.php?id=1191#c3976 
> ---------------------------------------------------------------------- 
> Why would brace expansion not be allowed by the standard? `{' is a reserved
> word, not an operator, and does not qualify as a reserved word when used in
> a brace expansion context. 

Exactly.  In:

echo {1,2}

the { is not recognised as a reserved word, and the standard does not
say that this use of { is, or is allowed to be, in any other way special.
Therefore it is an ordinary character and must be treated as such.

-- 
Geoff Clare <[email protected]>
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England

Reply via email to