News for hackers. Stuff that matters.
Re:GNU/Linux shell related internals by supriyo-biswas on Sunday December 18, 2022 @08:27AM (#34037446)
If you're after how the shell parses commands, the EBNF grammar in the POSIX specification is a good start:

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...

Unfortunately, there's not much to a shell other than it's parsing capabilities.

Re:GNU/Linux shell related internals by chasil on Sunday December 18, 2022 @10:19AM (#34038473)
It is unfortunate that an LR-parsed language was chosen.

https://archive.fosdem.org/2018/schedule/event/code_parsing_...