I found this tutorial about POSIX shell scripting. I tend to stick with Bash myself, but this is a good resource for writing portable scripts where there is no Bash.