Op 25-07-17 om 23:41 schreef Thorsten Glaser: > Martijn Dekker dixit: > >> This behaviour also appears to be contrary to the documentation in >> mksh(1) ("The command is executed without forking, replacing the shell >> process"). The test script below demonstrates that neither "exec" > > And this is utter nonsense, the builtin does replace the shell process,
And under what theory should 'exec' run a shell function? - M.