bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]