- Debian Almquist shell
-
Debian Almquist shell Stable release 0.5.7 / July 8, 2011 Type POSIX-compliant Unix shell License BSD license, GNU General Public License Website http://gondor.apana.org.au/~herbert/dash/ The Debian Almquist shell (dash) is a Unix shell, much smaller than bash but still aiming at POSIX-compliancy. It requires less disk space but is also less feature-rich.
History
Dash is a direct descendant of the NetBSD version of the Almquist shell (ash). It was ported to Linux by Herbert Xu in early 1997. It was renamed to dash in 2002.
Dash, like ash, executes shell scripts faster than bash and depends on fewer libraries. It is believed[1] to be more reliable in the case of upgrade problems or disk failures. dash may be used as a:
- shell on installation floppy disks
- root user shell
- /bin/sh replacement
- testing environment for shell scripts to verify their compatibility with POSIX syntax
Dash is a modern replacement for ash in Debian and was expected to be the default /bin/sh for Debian Lenny.[2][3] Dash has been the default /bin/sh in Ubuntu since the 6.10 release in October 2006.[4] During the transition by Ubuntu, numerous scripts making use of Bash-specific functionality (but not declaring it) were discovered.[5][6] To avoid errors, Bash-specific scripts can be modified to be compatible with the appropriate standard, or explicitly declare their use of bashisms by explicitly setting the interpreter to bash via the shebang line:
#!/usr/bin/env bash
.References
- ^ http://packages.debian.org/dash
- ^ Release goals for Debian Lenny
- ^ Release Update: architecture status, release goal status, BSPs
- ^ Dash as /bin/sh in Ubuntu 6.10
- ^ Ubuntu bug #61463: script that are using bash could be broken with the new symlink
- ^ Ubuntu bug #141481: dash as #!/bin/sh introduces countless incompatibilities
External links
- Dash home
- Debian package overview
- Debian bugs tagged goal-dash
- Dash as default /bin/sh in Debian, Ubuntu
- Dash mailing list archive
- Shells in Debian
Debian Infrastructure Software deb format · dpkg · APT · aptitude · debconf package · Debian-Installer · Rebranded Mozilla software · Alien · Jigdo · dash · cdrkit · vrmsVariants People Ian Murdock · Bruce Perens · Ian Jackson · Wichert Akkerman · Ben Collins · Bdale Garbee · Martin Michlmayr · Branden Robinson · Anthony Towns · Sam Hocevar · Steve McIntyre · Stefano ZacchiroliThis Unix-related article is a stub. You can help Wikipedia by expanding it.