Bash
From Bashlinux
How to write portabile scripts
As recommended by Dan Kegel on [[1]] a good book for portability is [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 [Single UNIX Specification].