Skip to main content
1 of 2
Stéphane Chazelas
  • 584.8k
  • 96
  • 1.1k
  • 1.7k

Here is the start of an inventory of the extra features that dash and its builtins have over POSIX.1-2017.

  • Supports local scope of variables and options via a local builtin (from original Ash in 1989).
  • Supports (in some builds) some -V/-E options as aliases for -o vi, -o emacs.
  • Supports a -p / -o privileged option.
  • A -l option to start as login shell
  • -I as alias to -o ignoreeof
  • its echo supports the -n option
  • its read supports a -p prompt option
  • its printf supports %f/e/E/g/G.
  • its [/test support -ef, -nt, -ot, <, >
  • its ulimit supports many more options that those specified by POSIX
  • handling of MAIL, MAILCHECK, MAILPATH variables.
Stéphane Chazelas
  • 584.8k
  • 96
  • 1.1k
  • 1.7k