Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16024

Re: Are there any plans for more readable, modern syntaxes for If statements?

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Vaidas BoQsc <vaidas.boqsc@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Are there any plans for more readable, modern syntaxes for If statements?
Date Thu, 12 Mar 2020 22:45:24 +0200
Lines 33
Approved bug-bash@gnu.org
Message-ID <mailman.2546.1584045966.2412.bug-bash@gnu.org> (permalink)
References <CAB+qc9AAPQbzp92tv-FOR4Kh+2UdZyRwGiPOfNegVqv5UFnU5Q@mail.gmail.com> <CAAJSdjig65yEMiS+WbOvoQNMWxZsNDaLT8r+i+BpY0aqyn+AaQ@mail.gmail.com> <CAB+qc9CUjFRqBkNLzp79tVyXtXRxTGhCJ-wynDwkTbw5KtdQgg@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1584045967 19381 209.51.188.17 (12 Mar 2020 20:46:07 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To John McKown <john.archie.mckown@gmail.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d4BEnni+sRuYGb+AcS3yUac1MCG+i1UBDaduuu2JkeI=; b=qQYsyAUyywtfVpP1ajkghW5fBkwLmska+EZbUo1CloEZ2JPZtdVeUbkbBmYYXqk59w YzfLs9oawP0fCz92dStGRqs7eyHPoh30wT2fHBGPj90J2F07EllnOAIHv4p+X0WKN3oV SYqbZHU3YbT44AOKDwiqO4AT6unmn/t1wIKbZTf9iDt19I+nBe49r1wqbxb9FwsApjeU MJJDSxRsNbMd6pKJv4rzrqqMw44K3y0xyPQPxrW5sW0XLL6PY6qWSxZNHWh9+Ig7yU5p 5uWf4zF0lemS6vKIO29pg2TkJfAB+1FNzvXi1Cj8uKLCf40EGNMgdnp/6k7e2rOFFq/U Frag==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d4BEnni+sRuYGb+AcS3yUac1MCG+i1UBDaduuu2JkeI=; b=fnVwUDhF+GEsS9FSGGq4SyPNxwPGjuDXtB3d9JotmUKCWG1okGDq485ih7mCSCeq8s 6a7RvJZ5Wy2vHZ0MD4/CR7B4bCLaki4SwCnL5J+aBaiOCPFMynDkACVsrHpB83ALWOyN nZGoIyYLKI5CkzbdTSsYsafEd0KBQLJXfA6cgdqgclzT8NClSm/7Lxj441/omm07IlgL CbhoSPxr8Wii5QLKYZjw5lozBOFTglAa21zx3pxGvVLyF2xuI120AHm/cf81vKwl+shj /o/TPjzFkicxQVufV85bwnzt+cMSnGNylxL/huc/Zn4xZRn2g58eQoLVtJAy9Onft3jG b6dQ==
X-Gm-Message-State ANhLgQ00Ls5/Ph/UXv2yJPZdrIg4TQh/DW/GPrKMo8+DWkUAWurLdPjk d6tH0KTl/vhHBrOwl8F4djShWzR5eCpm4AmRCgk=
X-Google-Smtp-Source ADFU+vvJgos6GKlaC5Xj1EbYbA+r1vPDulX1BLgHBF6b6E5d6hly9bbRgT4YrZ25Uk8mxtuaM3xcslS0OSCsF4sgfhE=
X-Received by 2002:a05:6402:84f:: with SMTP id b15mr9977313edz.369.1584045961120; Thu, 12 Mar 2020 13:46:01 -0700 (PDT)
In-Reply-To <CAAJSdjig65yEMiS+WbOvoQNMWxZsNDaLT8r+i+BpY0aqyn+AaQ@mail.gmail.com>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a00:1450:4864:20::533
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAB+qc9CUjFRqBkNLzp79tVyXtXRxTGhCJ-wynDwkTbw5KtdQgg@mail.gmail.com>
X-Mailman-Original-References <CAB+qc9AAPQbzp92tv-FOR4Kh+2UdZyRwGiPOfNegVqv5UFnU5Q@mail.gmail.com> <CAAJSdjig65yEMiS+WbOvoQNMWxZsNDaLT8r+i+BpY0aqyn+AaQ@mail.gmail.com>
Xref csiph.com gnu.bash.bug:16024

Show key headers only | View raw


No, I haven't. I looked at the various documentations of tcsh and couldn't
see any real improvements in syntax from a standard bash.
I can't even see a reason to use tcsh instead of bash, as an average of
bash. Syntaxes are the same or almost the same and horrible to read.

2020-03-12, kt, 22:21 John McKown <john.archie.mckown@gmail.com> rašė:

>
>
> On Thu, Mar 12, 2020 at 3:07 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?
>>
>
> I think this would need to go to the bash-dev list. Have you tried tcsh? I
> understand it tries to be C like.
>
>
>
> --
> People in sleeping bags are the soft tacos of the bear world.
> Maranatha! <><
> John McKown
>

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Are there any plans for more readable, modern syntaxes for If statements? Vaidas BoQsc <vaidas.boqsc@gmail.com> - 2020-03-12 22:45 +0200

csiph-web