Re: Are there any plans for more readable, modern syntaxes for If statem
From:
Lawrence Velázquez
Subject:
Re: Are there any plans for more readable, modern syntaxes for If statements?
Date:
Fri, 20 Mar 2020 00:11:02 -0400
> On Mar 12, 2020, at 3:00 PM, Vaidas BoQsc <vaidas.boqsc@gmail.com>
> wrote:
>
> Are there any plans to have alternative, a more modern C or D like
> syntaxes for IF statements, While loop and the like in Bash?
>
> Would it be better to just make a new shell and command language
> similar to Bash instead of adding these alternatives?
FWIW, some of zsh's complex commands have alternative forms that
are visually more C-like, although they have some caveats and are
(obviously) not even remotely portable.
http://zsh.sourceforge.net/Doc/Release/Shell-Grammar.html#Alternate-Forms-For-Complex-Commands
vq