On Sat, Apr 3, 2021 at 1:09 AM Robert Elz <k...@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