bug-bash
[Top][All Lists]
Advanced

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

Re: unbalanced parenthesis not recognized


From: Robert Elz
Subject: Re: unbalanced parenthesis not recognized
Date: Thu, 18 Nov 2021 23:52:29 +0700

    Date:        Thu, 18 Nov 2021 10:34:40 +0100
    From:        Harald Dunkel <harald.dunkel@aixigo.com>
    Message-ID:  <fff15881-9ee7-ce68-6d86-daa81a7d6d6b@aixigo.com>

  | 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 scenarios they're required to be paired for things to work, but
you can always simply use one (unquoted) anywhere there's a need.  They
don't have to balance in any way.

Try:
        echo } before {

It does exactly what it looks like it should do, and while omitting
one of those braces will change the output (obviously) that's all it does.

kre




reply via email to

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