[pmwiki-users] WikiSh noob - -gt & -lt

adam overton a at plus1plus1plus.org
Mon Jun 2 06:33:33 CDT 2008



hi
i'm trying out WikiSh for the first time
and am wondering why both


{(if test 3 -gt 4; then; echo YES; else; echo NO; fi)}

&

{(set Num1 = 3)}
{(set Num2 = 4)}
{(if test ${Num1} -gt ${Num2}; then; echo "YES"; else; echo "NO"; fi)}


spit out "3" instead of NO?

btw, is WikiSh my only option if i just want to do a > or < operation?
thanks,
adam


. . .

a at plus1plus1plus.org
661 373 8679



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080602/930ae296/attachment.html 


More information about the pmwiki-users mailing list