Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Possible parsing bug with alternate for-loop syntax



Doesn't have anything to do with for-loop syntax:

torch% a=hi}; echo $a
hi}
torch% {a=hi}; echo $a
cursh> 

It's assignment parsing.  The "}" is always considered part of the
value assigned to the variable.



Messages sorted by: Reverse Date, Date, Thread, Author