Bsh/tests/case/if_in_case_in_if.sh

14 lines
133 B
Bash

a=true
if $a
then
case $a in
false)
echo false;;
(true)
echo $a;;
esac
fi
echo end