Skip to content
KornShell
EntityQ204222· pop 20· linked from 111 articles

Also known as ksh, ksh93, ast-ksh

KornShell (ksh) is a Unix shell which was developed by David Korn at Bell Labs in the early 1980s and announced at USENIX on July 14, 1983. The initial development was based on Bourne shell source code. Other early contributors were Bell Labs developers Mike Veach and Pat Sullivan, who wrote the Emacs and vi-style line editing modes' code, respectively. KornShell is backward-compatible with the Bourne shell and includes many features of the C shell, inspired by the requests of Bell Labs users.

Key facts

Software.name
ksh93u+m
Software.screenshot
OpenBSD ksh Interaction.png
Software.screenshot size
250px
Software.caption
Interaction with OpenBSD's default shell,
Software.author
David Korn
Software.latest release version
1.0.10
Software.latest preview version
93v-
Software.programming language
C
Software.operating system
Unix and Unix-like (e.g. Linux and macOS; also works in Windows 10)
Software.language
English
Software.genre
Unix shell
Software.discontinued
no
Software.developer
Martijn Dekker, Johnothan King, hyenias
Software.replaces
93u+
Software.license
Eclipse Public License

via Wikipedia infobox

Full text

ast/src/cmd/ksh93 at master · att/ast · GitHub

github.com

Link to the full text · 40,000 chars · not written by Vinony

Wikidata facts

Official website
kornshell.com
Image
OpenBSD ksh Interaction.png
Show 3 more facts
inception
1983-01-01
Stack Exchange tag
stackoverflow.com/tags/ksh
Sources (4)

via Wikidata · CC0

~8 min read

Article

12 sections
Contents
  • Features
  • History
  • Primary contributions to the main software branch
  • Primary individual contributors
  • Integration consultant
  • Primary corporate contributors
  • Donated corporate resources
  • Variants
  • See also
  • References
  • Further reading
  • External links

KornShell (ksh) is a Unix shell which was developed by David Korn at Bell Labs in the early 1980s and announced at USENIX on July 14, 1983. The initial development was based on Bourne shell source code. Other early contributors were Bell Labs developers Mike Veach and Pat Sullivan, who wrote the Emacs and vi-style line editing modes' code, respectively. KornShell is backward-compatible with the Bourne shell and includes many features of the C shell, inspired by the requests of Bell Labs users.

==Features== KornShell complies with POSIX.2, Shell and Utilities, Command Interpreter (IEEE Std 1003.2-1992.) Major differences between KornShell and the traditional Bourne shell include: job control, command aliasing, and command history designed after the corresponding C shell features; job control was added to the Bourne Shell in 1989 a choice of three command line editing styles based on vi, Emacs, and Gosling Emacs associative arrays and built-in floating-point arithmetic operations (only available in the version of KornShell) dynamic search for functions mathematical functions process substitution and process redirection C-language-like expressions enhanced expression-oriented and loops dynamic extensibility of (dynamically loaded) built-in commands (since ) reference variables hierarchically nested variables variables can have member functions associated with them object-oriented-programming (since ) variables can be objects with member (sub-)variables and member methods object methods are called with the object variable name followed (after a dot character) by the method name special object methods are called on: object initialization or assignment, object abandonment () composition and aggregation is available, as well as a form of inheritance

Gallery (2)

Connections

Categories