lksh (1) - Linux Man Pages

lksh: Legacy Korn shell built on mksh


lksh - Legacy Korn shell built on mksh


-words [-+abCefhiklmnprUuvXx [-+o opt ] ] [-c string | -s | file [args ... ] ]


is a command interpreter intended exclusively for running legacy shell scripts. It is built on mksh refer to its manual page for details on the scripting language. It is recommended to port scripts to mksh instead of relying on legacy or idiotic POSIX-mandated behaviour, since the MirBSD Korn Shell scripting language is much more consistent.


has the following differences from mksh


tries to make a cross between a legacy bourne/posix compatibl-ish shell and a legacy pdksh-alike but ``legacy'' is not exactly specified.

The set built-in command does not have all options one would expect from a full-blown mksh or pdksh

Talk to the MirOS development team using the mailing list at Aq miros-mksh [at] or the #!/bin/mksh (or #ksh ) IRC channel at (Port 6697 SSL, 6667 unencrypted) if you need any further quirks or assistance, and consider migrating your legacy scripts to work with mksh instead of requiring .