utility

dash

Shell implementation used as a portability test lane; extensions and support depend on the exact build.

Formal Syntax & Structure

bash syntaxbash
dash -n script; dash script

Return Value

exit status

Shell implementation used as a portability test lane; extensions and support depend on the exact build.

Working Example

Example Snippetbash
printf '%s\n' 'exit 7' > fail.shdash -n fail.shprintf 'syntax=%s\n' "$?"dash fail.shprintf 'runtime=%s\n' "$?"
Bash Reference