Difference between revisions of "Bash"

From Bashlinux
Jump to: navigation, search
m
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
=== How to write portabile scripts ===
 
As recommended by Dan Kegel on [https://github.com/Winetricks/winetricks/blob/wiki/LearningAboutShellScripting.md winetricks] a good book about shell portability is [http://www.amazon.com/Portable-Shell-Programming-Extensive-Collection/dp/0134514947/ref=sr_1_1?s=books&ie=UTF8&qid=1287290019&sr=1-1 Portable Shell Programming] by Bruce Blinn, which explains how to avoid GNU extensions in order to run bash scripts even on Mac OS X and Solaris.
   
  +
Another reading he also recommends is the [http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html Current POSIX shell standard]
== How to write portabile scripts ==
 
As recommended by Dan Kegel on [[http://code.google.com/p/winezeug/source/browse/trunk/wisotool|wisotool]] a good book for portability is [[http://www.amazon.com/Portable-Shell-Programming-Extensive-Collection/dp/0134514947/ref=sr_1_1?s=books&ie=UTF8&qid=1287290019&sr=1-1|Portable Shell Programming]] by Bruce Blinn, which explains how to avoid GNU extensions in order to run bash scripts even on Mac OS X and Solaris.
 
 
Other he also recommends is [[http://www.unix.org/online.html|The Single UNIX Specification]].
 

Latest revision as of 23:47, 6 June 2015

How to write portabile scripts

As recommended by Dan Kegel on winetricks a good book about shell portability is Portable Shell Programming by Bruce Blinn, which explains how to avoid GNU extensions in order to run bash scripts even on Mac OS X and Solaris.

Another reading he also recommends is the Current POSIX shell standard