Un outil pour savoir si une commande est posix - retour accueil
git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |
commit 64537188849d9f1726f7330e68837a6132d90cd1 parent f990f48dd50599429e2e5dc07ed7de908c7fa24d Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Tue, 26 Nov 2024 15:53:24 +0100 Correction d'un bug sur le test Diffstat:
M | posix.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/posix.sh b/posix.sh @@ -7,7 +7,7 @@ while getopts "o" opt; do done if [ -f "/var/isposix/${1:?need command}.html" ];then - [ $optflag = 0 ] \ + [ "$optflag" = "0" ] \ && < "/var/isposix/$1.html" grep -E "<dt><b>-.[&<].*</dt>" | grep -o "\-." \ || ${BROWSER:-w3m} "/var/isposix/$1.html" else