I am trying to use the files in a directory as options in a bash script. The user should be able to select one and then pass the name of the selected file into a variable. S
Don't miss percol, fzy, smenu and friends. They'll happily take from stdin, present a user-friendly select menu with interactive filter, then pipe selected lines out again.