Shell Programming in Unix, Linux and OS X by Stephen G. Kochan