jeudi 19 septembre 2019

How to return True if only one variable of three is True in BASH?

How I can translate this table in bash?

a|b|c|
1 1 1 False
1 1 0 False
1 0 1 False
1 0 0 True
0 1 1 False
0 1 0 True
0 0 1 True
0 0 0 False

Thank you

Aucun commentaire:

Enregistrer un commentaire