Almquist Shell: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎See also: Connect a link; 'dash' does not exist at this time.)
(Give a brief description. List the three major variants.)
Line 1: Line 1:
{{stub}}{{implementation|UNIX Shell}}
{{implementation|UNIX Shell}}
'''Almquist Shell''' is a minimal implementation of a [[POSIX]] shell, and also a replacement for [[compatible with::Bourne Shell]]. Almquist Shell has more features than Bourne Shell, but fewer features than most other shells. (No arrays!) Almquist Shell only implements POSIX features, plus a few [[BSD]] traditions, like its <code>local</code> command. Almquist Shell is the default shell, <code>/bin/sh</code>, of some systems.
[[wp:Almquist shell]]


Almquist Shell filled the need for a free shell to replace Bourne Shell. Kenneth Almquist posted [http://groups.google.com/group/comp.sources.unix/msg/2774e7653a8e6274 the first version of Ash] to Usenet group comp.sources.unix at 30 May 1989. It was a clone of SVR3 Bourne Shell. [[BSD]] used Ash for <code>/bin/sh</code>, added features from POSIX, and put a Berkeley copyright on this shell.
There are various implementations of '''Almquist Shell''' , and the behaviour of the shell is dependent on the variant being used.


== Traditional implementations ==
== Almquist variants ==
Ash has three major variants:


* [[Debian Almquist Shell]] (Dash)
== Extended implementations ==
* [http://svnweb.freebsd.org/base/head/bin/sh/ FreeBSD /bin/sh]
* [http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/?only_with_tag=MAIN NetBSD /bin/sh]


All three variants have similar features. Dash can run on GNU/Linux.
== See also ==


== See also ==
[[Debian Almquist Shell]]
* [[wp:Almquist shell]], Wikipedia's article
* [http://www.in-ulm.de/~mascheck/various/ash/ Ash (Almquist Shell) Variants], a history of many Ash versions and their features

Revision as of 04:34, 7 October 2011

Almquist Shell is an implementation of UNIX Shell. Other implementations of UNIX Shell.

Almquist Shell is a minimal implementation of a POSIX shell, and also a replacement for Bourne Shell. Almquist Shell has more features than Bourne Shell, but fewer features than most other shells. (No arrays!) Almquist Shell only implements POSIX features, plus a few BSD traditions, like its local command. Almquist Shell is the default shell, /bin/sh, of some systems.

Almquist Shell filled the need for a free shell to replace Bourne Shell. Kenneth Almquist posted the first version of Ash to Usenet group comp.sources.unix at 30 May 1989. It was a clone of SVR3 Bourne Shell. BSD used Ash for /bin/sh, added features from POSIX, and put a Berkeley copyright on this shell.

Almquist variants

Ash has three major variants:

All three variants have similar features. Dash can run on GNU/Linux.

See also