From cca77f5bfbc148c03246bffe616fd3591f7a67d4 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Sat, 22 Sep 2018 22:53:27 +0300 Subject: [PATCH] add note about POSIX --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 88b5ada..809d50e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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/),