Bsh/tests/subshells/fun_in_subshell.sh

8 lines
79 B
Bash

fun()
{
echo "First fun"
}
(fun; fun() { echo "Second fun"; }; fun;)
fun;