Shell script that checks a given input is number or alphabet