Settings

Theme

KornShell 2020 – Impossible Happens

situ.im

12 points by siteshwar 6 years ago · 3 comments

Reader

jmclnx 6 years ago

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)}' < file | read v1 v2 v3 v4

and many ksh scripts outside of Linux uses that syntax

AdmiralAsshat 6 years ago

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.

  • siteshwarOP 6 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection