Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
KornShell
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Features== KornShell complies with [[POSIX#POSIX.2|POSIX.2]], Shell and Utilities, Command Interpreter (IEEE Std 1003.2-1992.) Major differences between KornShell and the traditional Bourne shell include: * [[Job control (Unix)|job control]], [[alias (command)|command aliasing]], and [[command history]] designed after the corresponding [[C shell]] features; job control was added to the Bourne Shell in 1989<ref>{{cite web|url=https://www.in-ulm.de/~mascheck/bourne/|title=traditional Bourne shell family / history and development|website=In-ulm.de|access-date=10 December 2018}}</ref> * a choice of three command line editing styles based on [[Vi (text editor)|vi]], [[Emacs]], and [[Gosling Emacs]] * [[associative array]]s and built-in [[floating-point arithmetic]] operations (only available in the {{mono|ksh93}} version of KornShell) * dynamic search for functions * mathematical functions * process substitution and process redirection * C-language-like expressions * enhanced expression-oriented {{mono|for}} and {{mono|while}} loops * dynamic extensibility of (dynamically loaded) built-in commands (since {{mono|ksh93}}) * reference variables * hierarchically nested variables * variables can have member functions associated with them * object-oriented-programming (since {{mono|ksh93t}}) ** 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 ({{mono|unset}}) ** composition and aggregation is available, as well as a form of inheritance
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)