On Mon, Nov 22, 2021 at 09:03:39AM +0100, Harald Dunkel wrote:
> > : ${SSLDIR}:="${JM_WORK}/ssl"}
> Surely I can just speak for myself, but to me it appears obvious that
> there is something weird and that there is one closing bracket too much
> in this line. I understand that bash doesn't produce
Hi Chet,
On 2021-11-19 16:27:34, Chet Ramey wrote:
On 11/19/21 2:02 AM, Harald Dunkel wrote:
"Some scenarios" is the point here. The parenthesis have to balance as
soon as it comes to shell parameter expansion, which is (or should have
been) the case here.
OK. Let's look at the original exa
On 11/19/21 2:02 AM, Harald Dunkel wrote:
"Some scenarios" is the point here. The parenthesis have to balance as
soon as it comes to shell parameter expansion, which is (or should have
been) the case here.
OK. Let's look at the original example:
: ${SSLDIR}:="${JM_WORK}/ssl"}
Where do you
On Fri, Nov 19, 2021 at 08:02:19AM +0100, Harald Dunkel wrote:
> On 2021-11-18 17:52:29, Robert Elz wrote:
> > Date:Thu, 18 Nov 2021 10:34:40 +0100
> > From:Harald Dunkel
> > Message-ID:
> >
> >| at least due to unbalanced parenthesis?
> >
> > Greg's reply wa
On 2021-11-18 17:52:29, Robert Elz wrote:
Date:Thu, 18 Nov 2021 10:34:40 +0100
From:Harald Dunkel
Message-ID:
| at least due to unbalanced parenthesis?
Greg's reply was correct, but he didn't explicitly address that point.
In sh, characters like { } [ ] (but
Date:Thu, 18 Nov 2021 10:34:40 +0100
From:Harald Dunkel
Message-ID:
| at least due to unbalanced parenthesis?
Greg's reply was correct, but he didn't explicitly address that point.
In sh, characters like { } [ ] (but not ( and )) are just characters.
In some scena
On Thu, Nov 18, 2021 at 10:34:40AM +0100, Harald Dunkel wrote:
> Hi folks,
>
> I am not sure, but shouldn't bash 5.1.4 complain about
>
> : ${SSLDIR}:="${JM_WORK}/ssl"}
There's no syntax error here. It may be a bug, in the sense that it
doesn't do what you wanted it to do, but from the sh
Hi folks,
I am not sure, but shouldn't bash 5.1.4 complain about
: ${SSLDIR}:="${JM_WORK}/ssl"}
at least due to unbalanced parenthesis? The correct version
would be
: ${SSLDIR:="${JM_WORK}/ssl"}
Regards
Harri