[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: |
Mon, 5 Apr 2021 14:13:54 +0800 |
On Sat, Apr 3, 2021 at 1:09 AM Robert Elz <kre@munnari.oz.au> wrote:
> | [[ ]] and (( )) are a form of reserved words themselves
>
> Those are bash specials, and I am fairly sure that (( and )) will be
> operators, not reserved words (they cannot really be the latter, as ( and
> ) are operators) and I suspect that [[ and ]] might be as well, but there
> I'm not sure. operators and reserved words are quite different things.
> Operators (unquoted) are recognised as themselves wherever they appear.
Stop suspecting and read the source code. Look at parse.y starting at
line 2150. They are labeled as "Reserved words".
--
konsolebox
- Re: select syntax violates the POLA, (continued)
- Re: select syntax violates the POLA, Dale R. Worley, 2021/04/01
- Re: select syntax violates the POLA, Robert Elz, 2021/04/01
- Re: select syntax violates the POLA, Andreas Schwab, 2021/04/02
- Re: select syntax violates the POLA, konsolebox, 2021/04/02
- Re: select syntax violates the POLA, Greywolf, 2021/04/05
- Re: select syntax violates the POLA, Chet Ramey, 2021/04/05
- Re: select syntax violates the POLA, Greywolf, 2021/04/05
- Re: select syntax violates the POLA, Chet Ramey, 2021/04/05
- Re: select syntax violates the POLA, konsolebox, 2021/04/02
- Re: select syntax violates the POLA, Robert Elz, 2021/04/02
- Re: select syntax violates the POLA,
konsolebox <=
- Re: select syntax violates the POLA, Greywolf, 2021/04/05
- 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, 2021/04/01