Unix Shell Scripting Guidelines

Hi,

I was wondering if any of you guys have developed shell scripting guidelines for writing unix shell scripts effectively. This includes naming standards, comments, indentation, error handing after unix comands, use of exported variables, sending notifications, functions, logging etc...

Thanks in advance,
AC

Consider this guide:

http://www.tldp.org/LDP/abs/html/

This is the complete book. I just wanted some standard unix scripting guidelines and not syntax...