This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pick or semilar


On Fri, Aug 26, 2016 at 04:28:07PM -0600, Doug Henderson wrote:
> On 26 August 2016 at 15:46, Adam Dinwoodie  wrote:
> > On 17/08/2016 15:25, Morten Kjærulff wrote:
> >>
> >> Hi,
> >>
> >> Is there a tool like "pick"
> >> https://github.com/thoughtbot/pick
> >>
> >> in cygwin?
> >
> > I've just taken a brief look at that GitHub page, and it looks to be at
> > least vaguely similar to fzf, which is included with Cygwin. You might want
> > to take a look at that and see if it meets your needs.
> ...
>
> Have you considered the bash select command? The following command
> takes you to the documentation
>
> info bash select
>
> for example:
>
> select fname in *.txt ;
> do
>     echo you picked No. ${REPLY}: ${fname} ;
>     break ;
> done
>
>
> HTH
>
> Doug
>
For quick documentation of bash select, you can simply enter

help select

at the bash / mintty prompt. Bash has help for most builtins actually,

Cheers ... Duncan.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]