delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/01/18:54:36

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=u8FcVKF2fGfRg97Z3r5O7bvQOkAjUg
NIy85ijtZVTmLzJwrdn9EO0yvFDUJwiUnBpwfTNwEksh/u5veW7PcJ1lbU1B912d
y9ptNfaw4qyZxpiD5pkLJKgkd5fv1PguIX//t9swYiAh5rAKcLv2lDtiWZ5KIIBT
DgMBO03mmVZFU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=2oB8wOxNzHBw6LtyljfFCahJKrU=; b=iMwG
wvZ3t20666XKet08nItFjgT8ZBWVOIgUYVUdkAbcO96jGvJVG5w/OKr5zAQmogQD
xUSHjvxSPdl1j0sCNUeBBsqMbk3K2NGOlOP10W4FSyAPECHqRpWdpAHx2zBQuGyg
aVo27zJqelOY5r1PZLJpEEO2ZDcnbQWPaVbSW/I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=adam, Adam, H*F:D*net.au, REPLY
X-HELO: mail107.syd.optusnet.com.au
Date: Fri, 2 Sep 2016 08:54:00 +1000
From: Duncan Roe <duncan_roe AT acslink DOT net DOT au>
To: cygwin AT cygwin DOT com
Subject: Re: pick or semilar
Message-ID: <20160901225359.GA31896@dimstar.local.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CA+7cx1rR+pc6cKoL8L6APnJZu3s42xmUEpWdWn8mLj+BxW1V_w AT mail DOT gmail DOT com> <57C0B8CE DOT 4030101 AT dinwoodie DOT org> <CAJ1FpuPk=4w8_azL-ebYTz9M5BWwcnv1E5OkKX7STjXBVVKX+Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJ1FpuPk=4w8_azL-ebYTz9M5BWwcnv1E5OkKX7STjXBVVKX+Q@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=VIkg5I7X c=1 sm=1 tr=0 a=/xIuaNGu1NPzt0yKkvdCVQ==:117 a=/xIuaNGu1NPzt0yKkvdCVQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=8nJEP1OIZ-IA:10 a=GW1xBdLrtEIA:10 a=NEAV23lmAAAA:8 a=x98GfpT-h625BplYzP8A:9 a=wPNLvfGTeEIA:10 a=Bn2pgwyD2vrAyMmN8A2t:22
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019