From Bashlinux
Jump to: navigation, search

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