From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83082 invoked by alias); 28 Jan 2017 17:45:41 -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 83068 invoked by uid 89); 28 Jan 2017 17:45:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=2s, mingw32-g, mingw32g, 5.4.0-3 X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Jan 2017 17:45:39 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id XX4BcL3GuC3JIXX4CcamTk; Sat, 28 Jan 2017 10:45:37 -0700 X-Authority-Analysis: v=2.2 cv=XbT59Mx5 c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10 Subject: Re: cygcheck and literal plus sign References: <588c8cc9.a5249d0a.d8d5b.49c2@mx.google.com> To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: Date: Sat, 28 Jan 2017 17:45:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <588c8cc9.a5249d0a.d8d5b.49c2@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFW/TGEumPvF/tSs6JI5EHSftpxLluUCI6ZpZU++pMc7Mmj69yqwAYLVZbQZp9X/5hTOSYnieKlz9wV1txiK6kWXHgEF/q5LoJbFhFYiUK8e76ScaH+f mP6SszjDZqVaNosylE8q6g/JyhVFrxRADIuchGQzCnitg4I7mvJkGAm9RL+eU+sUn/wNcG/y/oGJhw== X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00354.txt.bz2 On 2017-01-28 05:21, Steven Penny wrote: > On Fri, 27 Jan 2017 21:01:14, Doug Henderson wrote: >> Try this: >> $ cygcheck -p "mingw32-g[*-,][*-,]" >> Found 4 matches for mingw32-g[*-,][*-,] > Thanks for this. Using ranges is gross, because it relies on your locale, but > it did put me on the right track: > $ cygcheck -p 'mingw32-g[:punct:][:punct:]' | awk 'NR>1{$0=$1}1' > Found 8 matches for mingw32-g[:punct:][:punct:] > mingw64-i686-gcc-core-5.4.0-2 > mingw64-i686-gcc-core-5.4.0-3 > mingw64-i686-gcc-debuginfo-5.4.0-2 > mingw64-i686-gcc-debuginfo-5.4.0-3 > mingw64-x86_64-gcc-core-5.4.0-2 > mingw64-x86_64-gcc-core-5.4.0-3 > mingw64-x86_64-gcc-debuginfo-5.4.0-2 > mingw64-x86_64-gcc-debuginfo-5.4.0-3 Your command is the same as: $ cygcheck -p mingw32-g[:ctnpu][:ctnpu] | sed '2,$s/\s.*//' Found 8 matches for mingw32-g[:ctnpu][:ctnpu] mingw64-i686-gcc-core-5.4.0-2 mingw64-i686-gcc-core-5.4.0-3 mingw64-i686-gcc-debuginfo-5.4.0-2 mingw64-i686-gcc-debuginfo-5.4.0-3 mingw64-x86_64-gcc-core-5.4.0-2 mingw64-x86_64-gcc-core-5.4.0-3 mingw64-x86_64-gcc-debuginfo-5.4.0-2 mingw64-x86_64-gcc-debuginfo-5.4.0-3 ITYM: $ cygcheck -p mingw32-g[[:punct:]][[:punct:]] | sed '2,$s/\s.*//' Found 4 matches for mingw32-g[[:punct:]][[:punct:]] mingw64-i686-gcc-g++-5.4.0-2 mingw64-i686-gcc-g++-5.4.0-3 mingw64-x86_64-gcc-g++-5.4.0-2 mingw64-x86_64-gcc-g++-5.4.0-3 -- Take care. Thanks, Brian Inglis, 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