[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting out of an array

From: Jan Schampera
Subject: Re: Selecting out of an array
Date: Tue, 26 Jan 2010 07:59:16 +0100
User-agent: Mozilla-Thunderbird (X11/20090707)

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.


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]