Bash Script Print Variable In Range