On Tue, Feb 22, 2011 at 9:53 PM, Greg Wooledge <wool...@eeg.ccf.org> wrote:
> 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. > > Agree. I've never used `select' in my scripts. -- Clark J. Wang