You can checkout the ksh code from OpenBSDs CVS and build it. Last time I did was on FreeBSD 6 or 7, it only required changing like two lines of a header file.
The mksh that bmk1st mentioned is also an option, although I haven't used it enough over the years to note compatibility levels with modern OpenBSDs own shell.
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|