Simple bash script to get positive or negative number in Linux terminal