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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <57C0B8CE DOT 4030101 AT dinwoodie DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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