Quote:
Originally Posted by IdOp
I would think Bourne shell (sh) scripting is essential if you're going to maintain your own Unix-like system.
|
Very good point.
Most, if not all shells claim Bourne compatibility, although some are more compatible than others.
The point
IdOp is making is consider coding to the Bourne shell as the lowest common denominator. Bourne shell code has a higher probability to running on any number of shells. Although bash was not initially mentioned, integrating bash-ism's into a script limits its use to the bash shell only. Getting locked into using a specific shell may hurt one's self at the most inopportune moment later on.