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

Re: Re[2]: why not promote the plague ? (brace|rc|alternative|modern) syntax





On Sat, Dec 14, 2024 at 3:11 PM Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx> wrote:

 But I think it would make sense to add that there is also the

        for var in val1 val2 val3; command

syntax which is not covered by any of the options above,

Thanks, I did overlook that. It is valid only with SHORT_LOOPS set, and is the only way I know of to use in without also using do. 

--
Mark J. Reed <markjreed@xxxxxxxxx>


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