I'm using Ubuntu 14.04.02 32bit.
On doing some shell programming, I found out that running the script through the sh command sometimes cause errors.
Is it because the sh command is invoking the dash shell instead of #!/bin/bash ?
I'm having trouble with the select command.
It goes well when I execute it by ./scriptName.sh, but sh scriptName.sh reports syntax errors. Why is this happening?