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 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


-- 
Doug Henderson, Calgary, Alberta, Canada

--
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]