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

Ghe Rivero ghe.rivero at gmail.com
Tue Apr 15 11:31:19 UTC 2014


+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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140415/7414cd22/attachment.html>


More information about the OpenStack-dev mailing list