* Dave Korn wrote on Fri, Aug 14, 2009 at 03:21:33PM CEST: > Eric Blake wrote: > > And beyond that, it's just lots of practice. I agree that it often feels > > like you have to memorize loads of information to write portable shell, > > but at least these public reviews catch a lot of the pitfalls. > > Your cheat sheet will come in very handy :) Thanks!
Forget the bash manual. Read the SUSv3 man pages for sh etc., and the info Autoconf "Portable Shell" chapter, plus maybe Paul Jarc's lintsh, and you're mostly set. We try hard to document the deviations from Posix in autoconf.texi. Cheers, Ralf