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

Jay Dobies jason.dobies at redhat.com
Tue Apr 15 13:36:29 UTC 2014


+1 to using bash, the argument about not keeping POSIX compliance for 
the sake of it makes sense to me.

On 04/15/2014 07:31 AM, 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
>



More information about the OpenStack-dev mailing list