Originally Posted by Chubler_XL
I believe this shell is lksh LEGACY KSH which is built on MIRBSD KSH and is intended exclusively for running legacy shell scripts. It is not really intended as a login script and there is no explicit support for interactive use, nor any command line editing or history code.
Does your system have mksh as well? If so this would be a much closer match to ksh93 although date arithmetic is not supported.
Yes, the system has mksh as well. Actually I have some aix scripts, ksh and ksh93. They are kept in separate directories, I am guessing the ksh scripts are ksh88 and ksh93 are obviously 93 as I can see ksh93 with the hash bang. Unfortunately, I do not know which version of AIX had these scripts otherwise I could have guessed the default ksh for that version of AIX.
Also, I have to port these scripts to bash on suse linux. Would that be pesky ?