How to make a command output list into a menu option list with Bash?
Command: mount | grep /media | awk '{print $3}' lists all mounted USB Storages on my computer.
- It could be empty or multiple lines.
- When it is empty, I will echo a message.
- When it is multiple lines, I want to make this output into a menu option list as: - AAA
- BBB
- CCC
- ...
 
The difficulty is, the output is not fixed number of lines, so the menu will be unfixed choice.
I am stuck.
 
     
     
     
     
    