jeudi 17 janvier 2019

why use || instead of -o in IF in bash?

Why/when should I use || instead of -o in a IF statement in BASH?

e.g. if [ a = a ] || [ b = b ] instead of if [ a = a -o b = b ].

Aucun commentaire:

Enregistrer un commentaire