Phil Savoie
2010-Nov-08 20:06 UTC
[CentOS] OT - Any true bourne shells out there for linux?
Hi All, Was wondering if anyone knows there are any separate rpms to be able to install a true bourne shell and not one linked to bash. Thanks in advance, Phil -- Manners are the unenforced standards of conduct which demonstrate that a person is proper, polite, and refined.
Clive Hills
2010-Nov-08 20:14 UTC
[CentOS] OT - Any true bourne shells out there for linux?
I think no due to Copyright issues. The closest is probably dash which describes itself as a POSIX comptatible shell. Clive -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20101108/3e6569e9/attachment-0001.html>
On Mon, Nov 8, 2010 at 3:06 PM, Phil Savoie <psavoie1783 at rogers.com> wrote:> Hi All, > > Was wondering if anyone knows there are any separate rpms to be able to > install a true bourne shell and not one linked to bash.Bash has some options to run in compatibility mode. Not sure what you need, but may do the trick. It's useful if you need to build on Linux then move to another environment.
Devin Reade
2010-Nov-09 15:05 UTC
[CentOS] OT - Any true bourne shells out there for linux?
I've not looked at it in a few years, but I seem to recall that ash was fairly close to the traditional Bourne syntax. I don't know if it is helpful to your case, but if you have a script that is bash-specific, it is a good idea to change the magic line from # !/bin/sh to # !/bin/bash That way, if you're running it on non-Linux platforms it will either work or give you a useful error message up front (in the case that bash isn't installed). Devin -- Don't try to have the last word. You might get it. - Robert Heinlein