Updated Coding Style (markdown)

Dirk Wetter 2020-01-23 18:48:44 +01:00
parent 60a6786389
commit be3cae3b0a

@ -67,4 +67,4 @@
* Every operation (string, etc.) which works with bash internal functions: **use them whenever possible** (replacing tr/sed/awk), see e.g. http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html * Every operation (string, etc.) which works with bash internal functions: **use them whenever possible** (replacing tr/sed/awk), see e.g. http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html
* Avoid a mix of several external binaries e.g. (sed and grep and tr) if you can achieve the same with bash. Or at least with a single binary e.g. awk. * Avoid a mix of several external binaries e.g. (sed and grep and tr) if you can achieve the same with bash. Or at least with a single binary e.g. awk.
* Be careful with very advanced bash features. Mac OS X is still using bash version 3.2 ([http://tldp.org/LDP/abs/html/bashver4.html](differences)) * Be careful with very advanced bash features. Mac OS X is still using bash version 3.2 ([differences]( http://tldp.org/LDP/abs/html/bashver4.html))