Jon_R schrieb:

> http://old.nabble.com/file/p27316649/newsh2.sh newsh2.sh 

You have a misunderstanding about select here, I guess.

Select is supposed to display a list of given words and take user input
(index to these words). It more or less is the same as a for loop, it
just doesn't iterate through the words, it lets the user select one of them.

http://bash-hackers.org/wiki/doku.php/syntax/ccmd/user_select

If you want to make more sophisticated menus, consider to use a
dialog(1) or similar: http://mywiki.wooledge.org/BashFAQ/040

Jan


Reply via email to