[pmwiki-users] WikiSh - conditional question

adam overton a at plus1plus1plus.org
Wed Sep 16 17:22:03 CDT 2009

hi peter
how are you?
i was wondering if it's possible to do nested conditiionals in WikiSh  
in the form:

{(wikish if test "blam" == "blammo" || ( test "blee" == "blee" &&  
test "blech" == "blech" ); then; echo "true"; else; echo "false"; fi; )}

i would think that it would result in true, but it doesn't work - i  
think the parens break the markup
i also tried it with [ ] to no avail

i know i could probably break it up into two separate if statements,  
but am wondering if it's possible to do it in a similar form?


More information about the pmwiki-users mailing list