On Jul 02 2020, Robert Elz wrote: > POSIX says: > > If command is specified, exec shall not return to the shell;
But it also says:
If command is not found, the exit status shall be 127. If command is
found, but it is not an executable utility, the exit status shall be
126.
And that's what bash does.
Andreas.
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
