<br><div class="gmail_quote">On Sun, Oct 31, 2010 at 10:15 AM, B Kirkpatrick <span dir="ltr">&lt;<a href="mailto:bkirkp@gmail.com">bkirkp@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I do not want to start a flame war here, but I would like an explanation of why the large majority of Slackware users, those who have &amp; use bash, have to write ash-compliant scripts for those who are using that shell. I know that it has been done that way forever, I know that ash is run during install, I know that it is run in BusyBox, but when the system is installed, why can&#39;t I write any bash-compliant code &amp; not get &quot;bashed&quot; by other users?<br>

Regards,<br>
Bill<div><div></div><div class="h5"><br></div></div></blockquote><div><br>My personal feeling has always been that if the script begins with #!/bin/sh then it should be written to work with _any_ Bourne-compatible shell. If you want/need to use features specific to a particular implementation such as Bash or Ksh, then state that explicitly in your shebang. If you&#39;re unsure, put #!/bin/bash or whatever shell you tested in. <br>
<br>Demanding to use Bash-specific features in Bourne shell is like demanding a garbage collector in C. <br></div></div>