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

10 lines
127 B
Bash
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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
'