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

Marc Chantreux <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <Z10zlKaQsun7_FUl@prometheus>
On Fri, Dec 13, 2024 at 07:07:17PM -0500, Lawrence Velázquez wrote:
> Mikael's point was to distinguish between the alternative forms
> and the SHORT_LOOPS forms.  None of your examples works without
> SHORT_LOOPS

thanks for noticing. which leads me to open zshmisc(1) and read
read "ALTERNATE FORMS FOR COMPLEX COMMANDS". TIL that my coding
style is actually a mix of the alternative form and SHORT_LOOPS
and the difference is subtile:

	« The  short  versions  below only work if sublist is of the form `{
	list }' or if the SHORT_LOOPS option is set »

regards
-- 
Marc Chantreux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.