logoalt Hacker News

chasiltoday at 2:15 AM1 replyview on HN

The author has neglected the pdksh family of shells which includes all of Android, so this is a sizable oversight.

This would include the MirBSD mksh, and oksh from OpenBSD.

They are much smaller than ksh93 and bash, and I would suggest that their syntax extensions be given preference, as they originally represented ksh88 (from which the POSIX shell standard was derived).


Replies

gaigalastoday at 2:29 AM

These are all in the shell-versions toolkit I recommended.

    docker run -it --rm alganet/shell-versions:all /opt/mksh_R59c/bin/mksh -c 'echo $KSH_VERSION'
    docker run -it --rm alganet/shell-versions:all /opt/oksh_7.9/bin/oksh -c 'echo $KSH_VERSION'
    docker run -it --rm alganet/shell-versions:all /opt/loksh_7.9/bin/loksh -c 'echo $KSH_VERSION'
I omitted them from the post because this is not about the history of ksh and the pdksh codebase.
show 1 reply