Bsh/tests/case/if_in_case_in_if.sh

14 lines
133 B
Bash
Raw Normal View History

2022-02-08 17:50:03 +00:00
a=true
if $a
then
case $a in
false)
echo false;;
(true)
echo $a;;
esac
fi
echo end