Re: Linux Bash vs. Unix Bash

Rick Warner <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <Pine.LNX.4.44.0304301336110.1978-100000@aligote.inviosoftware.com>
> plain "sh" on most unixes (besides linux) is usually a subset of features
> that both bash and ksh has. they are like 92% overlap in most syntax, but
> there are differences.

A more correct statement is that bash and ksh are supersets of sh.  AT&T 
created the reference implementation of sh; Korn (at AT&T) then created 
ksh as a superset of Bourne's sh.  bash is a much later superset.

Script writers who want to ensure that their scripts work under all
bastardizations of 'sh' should write to the USL reference implementation.
Avoid ksh extensions, avoid bash extensions, avoid SCO extensions; just
write to the pre-Novell buyout USL specs for sh and all should be fine.

- rick warner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.