Live data from Hacker News

KornShell 2020 – Impossible Happens

situ.im

1–4 of 4 posts

Re: KornShell 2020 – Impossible Happens

#3

What does Korn Shell offer over Bash shell, again? I've never used it, other than encountering a few legacy scripts on customer systems written in ksh that stopped working when they migrated over to RHEL/Centos7 and ksh was no longer installed by default.

Discipline functions, floating point arithmetic, compound data types etc. Original KornShell is still more powerful programming langauge than bash.

Re: KornShell 2020 – Impossible Happens

#4
Well the largest advantage is you can write and test scripts on Linux that will work on UN*X (like AIX) where bash does not exist. Also this works:

awk '{printf("%s %s %s %s", $1, $2, $3, $4)}' and many ksh scripts outside of Linux uses that syntax