Dash as default shell

Rahul Sundaram metherid at gmail.com
Thu Oct 2 14:01:45 UTC 2014


On Thu, Oct 2, 2014 at 9:56 AM, Miroslav Suchý  wrote:

> 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
>   #!/usr/bin/dash

I don't think we need all scripts to do this.  Using sh when you are not
relying on any bash specific features is just fine.   Arch Linux wiki

$checkbashisms -f -p $(grep -rlE '^#! ?/bin/(env )?sh' /usr/bin)

checkbashisms is part of devscripts-minimal in Fedora.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20141002/53676469/attachment.html>

More information about the devel mailing list