Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
KornShell
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
KornShell
(section)
Add topic