test ( en )

Last modification : 2013/01/26 19:16

Test operators are use in block structures such as if ... then ... else ... fi.

MSH kwnow this test operators list
=strings equality
!=strings difference
-z
-ffile exists
-ddirectory exists
-n
-eqnumbers equality
-nenumbers difference
-leleather or equal
-ltleather than
-gegreater or equal
-gtgreater than
-epequality with * and ? jokers
-erregular expression