<div dir="ltr">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.<br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 15, 2014 at 1:25 PM, Dougal Matthews <span dir="ltr"><<a href="mailto:dougal@redhat.com" target="_blank">dougal@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another +1 for using bash. Sounds like an easy win.<div class=""><br>
<br>
On 15/04/14 12:31, Ghe Rivero wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
+1 to use bash as the default shell. So far, all major distros use bash<br>
as the default one (except Debian which uses dash).<br>
An about rewriting the code in Python, I agree that shell is complicated<br>
for large programs, but writing anything command oriented in other than<br>
shell is a nightmare. But there are some parts that can benefit from that.<br>
<br>
Ghe Rivero<br>
<br>
On 04/15/2014 11:05 AM, Chris Jones wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi<br>
<br>
On 15 April 2014 09:14, Daniel P. Berrange <<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a><br></div><div class="">
<mailto:<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>>> wrote:<br>
<br>
I supose that rewriting the code to be in Python is out of the<br>
question ? IMHO shell is just a terrible language for doing any<br>
program that is remotely complicated (ie longer than 10 lines of<br>
<br>
<br>
I don't think it's out of the question - where something makes sense<br>
to switch to Python, that would seem like a worthwhile thing to be<br>
doing. I do think it's a different question though - we can quickly<br>
flip things from /bin/sh to /bin/bash without affecting their<br>
suitability for replacement with python.<br>
<br>
--<br>
Cheers,<br>
<br>
Chris<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></blockquote><div class="">
<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>