1
0
Fork 0

add note about POSIX

This commit is contained in:
Andrey Orst 2018-09-22 22:53:27 +03:00 committed by GitHub
parent b2141bef99
commit cca77f5bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ like in this example - command says that it is good, but the result will be bad
## Shell scripting
Shell scripting should be POSIX compatible. Please avoid bashisms. You can refer to
[Kakoune's scripting guidelines](https://github.com/mawww/kakoune/blob/master/doc/writing_scripts.asciidoc).
[Kakoune's common shell patterns](https://github.com/mawww/kakoune/blob/master/doc/writing_scripts.asciidoc#common-shell-patterns), but reading 'POSIX programmers manual' will give more complete knowledge.
Please test your code in POSIX shells, like [dash](https://packages.debian.org/stretch/dash),
[ash](https://www.in-ulm.de/~mascheck/various/ash/), and in [Busybox](https://www.busybox.net/) environment
if possible. Also please test in popular POSIX-compatible shells, e.g. [bash](https://www.gnu.org/software/bash/),