Bash: user input and expressions