Re: Dash as default shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
rather then
  #!/bin/sh  or
  #!/usr/bin/bash

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
535
$ grep '#!' *|grep /bin/bash |wc -l
87
$ grep '#!' *|grep /bin/dash |wc -l
0

--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux