4 ms·
This is not Bash specific, this is basic POSIX shell: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_02 https://pubs.openg
by clort 7y ago
This is not Bash specific, this is basic POSIX shell:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_02 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)
- deleted 7y ago[deleted]
- userbinator 7y agoYou probably meant to link to the shell section of POSIX? https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
- clort 7y agoYes, in fact the 'Special Parameters' section. I didn't notice it was relying on session cookie