SyntaxFix
Write A Post
Hire A Developer
Questions
Specify bash instead of sh when running the script. I personally noticed they are different under ubuntu 12.10:
bash script.sh arg0 ... argn