Shell scripting can be tricky because there's bash and then there's sh and then again there's ksh. Lots of people think they are writing sh scripts and even put #/bin/sh on the tops of their files, ...