##################### Bash V2 grammar ##################### .. POSIX shell grammar: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html Good read: https://docstore.mik.ua/orelly/unix/upt/ch08_19.htm Read: https://www.safaribooksonline.com/library/view/learning-the-bash/1565923472/pr01.html Source: https://www.safaribooksonline.com/library/view/mastering-unix-shell/9780470183014/ This grammar is defined with the `BNF `_ syntax for context-free grammars. The syntax is valid for `US-ASCII `_ encoded text. .. literalinclude:: bash-2.bnf :linenos: :language: bnf