Maybe somebody knows a good Bourne Shell book or tutorial?

Alex Stangl alex at
Fri Dec 12 05:58:07 UTC 2014

On Fri, Dec 12, 2014 at 06:26:31AM +0100, Polytropon wrote:
> Additionally, it's worth knowing the _difference_ between
> the Bourne Shell and the BASH extensions, because those
> two shells aren't the same, even though there are people
> who seem to think this. When the "dash" shell enters the
> stage, the fun is about to start. ;-)

Many of us prefer to just target the POSIX standard.
This way our scripts should just work on any POSIX-compliant
shell. Oftentimes it seems like people use BASH-isms not
because there is any requirement to do so, or any performance
reason, but simply because they always use BASH and it just
seems natural to them to use all of its scripting language.

For those of us sticking with POSIX, I'm not sure what the
value of looking at BASH extensions is, except possibly
if needing to translate a script littered with BASH-isms.

If dash helps people see the value of sticking to standards,
that seems like a good thing.


More information about the freebsd-questions mailing list