Example:
$ ksh -n /no/such; print $?
0
$ touch a.ksh
$ chmod 0 a.ksh
$ ksh -n a.ksh; print $?
0
I see this behavior in every version of ksh93 including 1.0.10.
So if you misspell the name of your script, then it gets a clean bill of health! The behavior I expect is a sensible error message and a nonzero exit status.
Example:
I see this behavior in every version of ksh93 including 1.0.10.
So if you misspell the name of your script, then it gets a clean bill of health! The behavior I expect is a sensible error message and a nonzero exit status.