Using 'select' for multiple choices in shell scripts
I found this neat construct in the gnu bash reference. Select is a great way to be able to present a list of options to a user in a shell script. Take the example given in the reference: select fname in *; do echo you picked $fname \($REPLY\) break; done This…