Changed :program:`foo` to ``foo``, expanded shell file docs, dealt with differences in bash between Mac OS X and Linux.