| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| tech:bash_bonnes_pratiques [2025/05/19 15:52] – Jean-Baptiste | tech:bash_bonnes_pratiques [2025/05/27 09:39] (Version actuelle) – Jean-Baptiste |
|---|
| * http://redsymbol.net/articles/unofficial-bash-strict-mode/ | * http://redsymbol.net/articles/unofficial-bash-strict-mode/ |
| * http://mywiki.wooledge.org/BashFAQ/105 | * http://mywiki.wooledge.org/BashFAQ/105 |
| | * https://blog.yossarian.net/2020/01/23/Anybody-can-write-good-bash-with-a-little-effort |
| | * https://github.com/icy/bash-coding-style?tab=readme-ov-file#deprecation |
| | * https://www.reddit.com/r/linuxadmin/comments/9x1ist/what_are_your_conventions_with_bashshell_scripts/ |
| | * https://www.linkedin.com/pulse/bash-scripting-conventions-engin-polat |
| | * https://gist.github.com/the-glima/39905476c82a8acf9c81b7cfe08e5f03 |
| | * https://github.com/chenkaie/junkcode/blob/master/bash/Defensive-BASH-Programming.sh |
| | * https://bertvv.github.io/cheat-sheets/Bash.html |
| | * https://medium.com/better-programming/defensive-programming-to-create-a-robust-ish-shell-script-d9f21292d08a |
| | * https://frippertronics.com/posts/defensive_bash_programming.html |
| | * https://blog.seboss666.info/2020/04/programmation-defensive-en-bash/ |
| | * https://devhints.io/bash |
| | * https://kvz.io/blog/bash-best-practices.html & https://github.com/kvz/bash3boilerplate/ |
| | * http://unix.stackexchange.com/questions/8759/best-practice-to-use-in-bash |
| |
| |
| Voir | Voir |
| | |
| http://kvz.io/blog/2013/11/21/bash-best-practices/ | |
| |
| http://unix.stackexchange.com/questions/8759/best-practice-to-use-in-bash | |
| |
| == Les "pipes" | == Les tubes nommés (pipes) |
| |
| Source : https://blog.g3rt.nl/retain-exit-status-code-through-pipe.html | Source : https://blog.g3rt.nl/retain-exit-status-code-through-pipe.html |