[Top][All Lists]

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

Re: no way to give 'select' a default value

From: Greg Wooledge
Subject: Re: no way to give 'select' a default value
Date: Tue, 22 Feb 2011 08:53:09 -0500
User-agent: Mutt/

On Mon, Feb 21, 2011 at 04:05:34PM +0800, address@hidden 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.

reply via email to

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