Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
informatique:linux:programmation_shell [2021/02/02 09:08] – [function] pteu | informatique:linux:programmation_shell [2022/06/08 08:49] – [Ressources] pteu |
---|
* ''-O file'' : si le fichier nous appartient | * ''-O file'' : si le fichier nous appartient |
* ''-G file'' : si le fichier appartient à notre groupe | * ''-G file'' : si le fichier appartient à notre groupe |
| |
| * ''-t fd'' : vrai si //filedescriptor// fd est ouvert et se réfère à un terminal |
| |
====Chaînes de caractères==== | ====Chaînes de caractères==== |
* https://www.shellcheck.net : super moulinette en ligne pour analyser un script et recommander des améliorations (exsite aussi en package Linux : ''shellcheck''). A utiliser sans modération ! | * https://www.shellcheck.net : super moulinette en ligne pour analyser un script et recommander des améliorations (exsite aussi en package Linux : ''shellcheck''). A utiliser sans modération ! |
* [[https://google.github.io/styleguide/shellguide.html|Shell Style Guide]] by Google | * [[https://google.github.io/styleguide/shellguide.html|Shell Style Guide]] by Google |
| * [[https://betterdev.blog/minimal-safe-bash-script-template/|Minimal safe Bash script template]] (betterdev.blog) |
| * [[https://github.com/pforret/bashew/blob/master/README.md|bashew]] / [[https://blog.forret.com/portfolio/bashful/|bashful]] : un outil de création de script bash et le blog de son auteur, Peter Forret |
| * [[https://github.com/ralish/bash-script-template|bash-script-template]] |