Bsh/tests/case/case_in_function.sh

17 lines
176 B
Bash
Raw Normal View History

2022-02-08 17:50:03 +00:00
fun()
{
case fun in
f)
echo nope;;
*)
echo nice;;
esac
}
case call in
call)
fun;;
c)
echo what?;;
esac