Bsh/tests/case/case_in_function.sh

17 lines
176 B
Bash

fun()
{
case fun in
f)
echo nope;;
*)
echo nice;;
esac
}
case call in
call)
fun;;
c)
echo what?;;
esac