[openstack-dev] [tripleo] /bin/bash vs. /bin/sh

Chmouel Boudjnah chmouel at enovance.com
Tue Apr 15 18:45:15 UTC 2014


FWIW: we are using bash in devstack if we were going to try to make it
POSIX bourne shell (or whatever /bin/sh is) it would have been a huge pain.


On Tue, Apr 15, 2014 at 1:25 PM, Dougal Matthews <dougal at redhat.com> wrote:

> Another +1 for using bash. Sounds like an easy win.
>
>
> On 15/04/14 12:31, Ghe Rivero wrote:
>
>> +1 to use bash as the default shell. So far, all major distros use bash
>> as the default one (except Debian which uses dash).
>> An about rewriting the code in Python, I agree that shell is complicated
>> for large programs, but writing anything command oriented in other than
>> shell is a nightmare. But there are some parts that can benefit from that.
>>
>> Ghe Rivero
>>
>> On 04/15/2014 11:05 AM, Chris Jones wrote:
>>
>>> Hi
>>>
>>> On 15 April 2014 09:14, Daniel P. Berrange <berrange at redhat.com
>>> <mailto:berrange at redhat.com>> wrote:
>>>
>>>     I supose that rewriting the code to be in Python is out of the
>>>     question ?  IMHO shell is just a terrible language for doing any
>>>     program that is remotely complicated (ie longer than 10 lines of
>>>
>>>
>>> I don't think it's out of the question - where something makes sense
>>> to switch to Python, that would seem like a worthwhile thing to be
>>> doing. I do think it's a different question though - we can quickly
>>> flip things from /bin/sh to /bin/bash without affecting their
>>> suitability for replacement with python.
>>>
>>> --
>>> Cheers,
>>>
>>> Chris
>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140415/b61603a6/attachment.html>


More information about the OpenStack-dev mailing list