View Single Post
  #4   (View Single Post)  
Old 23rd January 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by IdOp View Post
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.

Last edited by ocicat; 23rd January 2012 at 09:14 PM.
Reply With Quote