From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70984 invoked by alias); 1 Sep 2016 22:54:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 70965 invoked by uid 89); 1 Sep 2016 22:54:20 -0000 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 Received: from mail107.syd.optusnet.com.au (HELO mail107.syd.optusnet.com.au) (211.29.132.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Sep 2016 22:54:10 +0000 Received: from dimstar.local.net (c110-22-56-26.eburwd6.vic.optusnet.com.au [110.22.56.26]) by mail107.syd.optusnet.com.au (Postfix) with ESMTP id 2323BD4928C for ; Fri, 2 Sep 2016 08:54:06 +1000 (AEST) Received: (qmail 2864 invoked by uid 501); 1 Sep 2016 22:54:00 -0000 Date: Thu, 01 Sep 2016 22:54:00 -0000 From: Duncan Roe To: cygwin@cygwin.com Subject: Re: pick or semilar Message-ID: <20160901225359.GA31896@dimstar.local.net> Mail-Followup-To: cygwin@cygwin.com References: <57C0B8CE.4030101@dinwoodie.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 X-SW-Source: 2016-09/txt/msg00018.txt.bz2 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