Dash as default shell

Miroslav Suchý msuchy at redhat.com
Thu Oct 2 13:56:20 UTC 2014

On 10/02/2014 04:39 AM, Rahul Sundaram wrote:
> Is it worth considering using Dash as the default (non-interactive) shell in Fedora?

Why starting with changing target of /bin/sh?

Can we start with smaller step?
Like put in Packing Guidelines, that authors and maintainers of non-interactive shell scripts should use
rather then
   #!/bin/sh  or

This change will hurt nobody. And enforce nothing.
And you can slowly start persuading maintainers to change that line. Package by package. Evolution rather than revolution.

BTW on my workstation:
$ grep '#!' *|grep /bin/sh|wc -l
$ grep '#!' *|grep /bin/bash |wc -l
$ grep '#!' *|grep /bin/dash |wc -l

Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys

More information about the devel mailing list