This blog post about shell scripting looks very good, need to go through it and its links.