Re: Missing semicolon tolerated after double-bracket [[ ]] expression
From:
Robert Elz
Subject:
Re: Missing semicolon tolerated after double-bracket [[ ]] expression
Date:
Mon, 15 Sep 2025 02:21:04 +0700
Date: Sun, 14 Sep 2025 13:23:06 -0400
From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= <vq@larryv.me>
Message-ID: <bbe1cd4d-2e4d-41a1-be56-f49ef925c19c@app.fastmail.com>
| yash takes this very seriously.
And is very much the outlier - I couldn't find any other shell which
reports other than "1 args", just yash. Not mksh, dash, ksh93, bosh,
even not zsh (with or without --emulate sh). Can you?
And when all shells but one do the same thing, you can guess which
is non-standard. The standard is (should be) to specify what actually
exists, so if wording were to be added making all this explicit, I am
confident what the outcome should be (unfortunately, what should be is
not always what happens.)
kre