Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: x=(foo ; bar) array assignments with embedded semicolons
On 11/18/2015 10:47 AM, Bart Schaefer wrote:
> On Nov 18, 10:20am, Peter Stephenson wrote:
> }
> } I don't think it's facetious at all. Unquoted ";" is a separator,
> } whether in an array or not.
>
> Nevertheless it is a syntax error in e.g. bash to use ";" there.
>
And that is what i assumed zsh would do. Since the only syntactical mention of ;
in the man pages i saw was as a list terminator; leaving the incomplete array definition.
Since it is intentional, could it be added to the man pages?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author