ja, ich schonwieder mit BB-Problemen...
[ ! ... ] wird nicht mehr "richtig" umgesetzt
BB 1.6:
Code: Alles auswählen
/tmp # if [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
unequal
/tmp # if [ "a" != "a" ]; then echo "unequal"; else echo "equal"; fi
equal
/tmp # if ! [ "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
equal
Code: Alles auswählen
/tmp # if [ ! "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
equal
/tmp # if [ "a" != "a" ]; then echo "unequal"; else echo "equal"; fi
equal
/tmp # if ! [ "a" = "a" ]; then echo "unequal"; else echo "equal"; fi
equal
Wie immer danke für alle Tipps