I need to read a value from the terminal in a bash script. I would like to be able to provide a default value that the user can change.
# Please enter your
I've just used this pattern, which I prefer:
read name || name='(nobody)'