Update manpage for binary operations in test(1)

This commit is contained in:
sin 2013-11-11 11:46:53 +00:00
parent 18fbd4606c
commit 2046778bc9

27
test.1
View File

@ -67,3 +67,30 @@ FILE exists and execute (or search) permission is granted
.TP .TP
.B \-z STRING .B \-z STRING
the length of STRING is zero the length of STRING is zero
.TP
.B s1 = s2
True if the strings s1 and s2 are identical
.TP
.B s1 != s2
True if the strings s1 and s2 are not identical
.TP
.B s1
True if s1 is not the null string
.TP
.B n1 -eq n2
True if the integers n1 and n2 are equal
.TP
.B n1 -ne n2
True if the integers n1 and n2 are not equal
.TP
.B n1 -gt n2
True if the integer n1 is greater than the integer n2
.TP
.B n1 -ge n2
True if the integer n1 is great than or equal to the integer n2
.TP
.B n1 -lt n2
True if the integer n1 is less than the integer n2
.TP
.B n1 -le n2
True if the integer n1 is less than or equal to the integer n2