Hacker News new | past | comments | ask | show | jobs | submit login

This is not Bash specific, this is basic POSIX shell:

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

Bash also incorporates the POSIX shell, but has extensions. This is fine if you are using it, but if you are writing a script which may need to run on another system, its better to keep it to POSIX.

(edit: URL - thanks userbinator)




You probably meant to link to the shell section of POSIX?

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


Yes, in fact the 'Special Parameters' section. I didn't notice it was relying on session cookie




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: