[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select syntax violates the POLA
From: |
konsolebox |
Subject: |
Re: select syntax violates the POLA |
Date: |
Fri, 2 Apr 2021 00:16:00 +0800 |
On Thu, Apr 1, 2021 at 11:25 PM <greywolf@starwolf.com> wrote:
>
> if ((n > 1)); then {
> echo "Ambiguous dir specification";
> exit 1;
> }
> else {
> dir=${d[0]};
> } fi;
The grouping is unnecessary or should be separate from the first class
syntax. Bash is not C or Go and shouldn't be written like it.
--
konsolebox
- Re: select syntax violates the POLA, (continued)
- Re: select syntax violates the POLA, Robert Elz, 2021/04/02
- Re: select syntax violates the POLA, Dale R. Worley, 2021/04/04
- Re: select syntax violates the POLA, Robert Elz, 2021/04/05
- Re: select syntax violates the POLA, konsolebox, 2021/04/05
- Re: select syntax violates the POLA, Oğuz, 2021/04/05
- Re: select syntax violates the POLA, Dale R. Worley, 2021/04/07
- Re: select syntax violates the POLA, Robert Elz, 2021/04/08
Re: select syntax violates the POLA, Greywolf, 2021/04/05
Re: select syntax violates the POLA,
konsolebox <=
Re: select syntax violates the POLA, Robert Elz, 2021/04/01
Re: select syntax violates the POLA, Robert Elz, 2021/04/01
Re: select syntax violates the POLA, Greywolf, 2021/04/01