Un outil pour savoir si une commande est posix - retour accueil
git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |
commit e184f8f3ac35dca16fbc236018d17f359973424b parent e9cce5c7b991eeace06b2e6ea8e51a593675d9c2 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Tue, 17 Dec 2024 10:40:51 +0100 On ne fait rien si la ligne est vide Avant on tentait d'exec tout lle tintouin, shift faisait crasher Diffstat:
M | isposix.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/isposix.sh b/isposix.sh @@ -43,6 +43,7 @@ done scriptisposix=0 while read line;do + [ -z "$line" ] && continue set -- $line cmdisposix=0 cmd="$1";shift