On Mon, Feb 21, 2011 at 04:05:34PM +0800, jida...@jidanni.org wrote: > There is no way to give the 'select' command a default value, so all the > user does is need to hit return. > $ help select > ... If the line is empty, WORDS and the prompt are redisplayed.
`select' is extremely limited. If you need any kind of flexibility that it doesn't offer, just scrap it and write your own while/read/test loop.