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:subject:references:to:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=KE4fN9uJPlSZyOm2 Se1iTrANdtIJe0ckeX2TR98rkf5rKjq4jB0zGhe90sXnbd8TYW0ofBR+eVixhcS8 qPH2qRg2fCnQIzIZD+omjVHr5Wn/Rl24YgqfykjWxSdhOpAq4WtbU3PuVbPNQhaf qGiLl5s4XJ+Z0vm3OpcnzNsG/ug= 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:subject:references:to:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=lXdIYbKtJFiQbEzJ/4Kc2j j5fEA=; b=CwNfWIdghd3SAk/PVpWJlfktT8bf7iyMEfsKZuFJnJJ9FDbyI2+Xsz RxLhId3zUMKGXXIJEIfmsFPdT9+zhida/zxRnrQucRFEByVLpV7tGV9sWlMsB4IA +6JJpSBNP0a/mGHpoly51bXITWzvDuug24CVtpMpQdyJhqjW3zwaU= 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=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 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 DOT a5249d0a DOT d8d5b DOT 49c2 AT mx DOT google DOT com> To: cygwin AT cygwin DOT com Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca From: Brian Inglis Message-ID: Date: Sat, 28 Jan 2017 10:45:35 -0700 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 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