RosettaCodeData/Task/Extend-your-language/UNIX-Shell/extend-your-language-2.sh

10 lines
127 B
Bash
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
if2 'test 7 -lt 9' 'test 7 -gt 9' '
echo both 1 and 2
' '
echo 1 but not 2
' '
echo 2 but not 1
' '
echo neither 1 nor 2
'