X-Recipient: archive-cygwin@delorie.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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type; q=dns; s=default; b=AiAD
	aaSMp/lmsnQYVbZ4vHtOO7D9SCkEsTgnfFPXDw1/hvIAMTmsW+TJeWdgBbwoXBds
	JvdcMLCjV3GHgEZFmlvhvVNEpHKkPoxRsCRuD0gdccRDf2MopPa+xl0fsANtztKv
	VphGIG+D/KfAgfom8oLZKB1TvsZJUhzuFnFG9NU=
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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type; s=default; bh=LmwaUDJJr2
	SZOMVuo0kFkWCeKSw=; b=iQmNEAxPNDjMPmgF3oujORMpO7zNjZjB7yaWKVTAQ2
	fUoASGcvoRsH+xxcnjv00BEG2y1krg7qy9/3sGKlR7b+qMF01ZlpnKBKSnAWpk2T
	Eq8VPXr6+fE6740+ZB2jrU22NWuDqFguftpW2xxT4+Kws8Aho6SdNBubzZk2WlrO
	w=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=2s, mingw32-g, mingw32g, punct
X-HELO: mx1.redhat.com
Subject: Re: cygcheck and literal plus sign
To: cygwin@cygwin.com
References: <CAJ1FpuMrKniJ7mPi0dqmZERo876q0ow2MExepC_J-D7aGnsVaA@mail.gmail.com> <588c8cc9.a5249d0a.d8d5b.49c2@mx.google.com> <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2@SystematicSw.ab.ca>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <8ce40df2-0a8f-4128-9107-ea2f16ec7fca@redhat.com>
Date: Sat, 28 Jan 2017 13:06:33 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2@SystematicSw.ab.ca>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7SCxakRAKae2I5rAGeWvX2nofqvbplKPc"
X-IsSubscribed: yes

--7SCxakRAKae2I5rAGeWvX2nofqvbplKPc
Content-Type: multipart/mixed; boundary="PBGBEDQqt2B71F0xTD6QH1n3AaEaSPFUf";
 protected-headers="v1"
From: Eric Blake <eblake@redhat.com>
To: cygwin@cygwin.com
Message-ID: <8ce40df2-0a8f-4128-9107-ea2f16ec7fca@redhat.com>
Subject: Re: cygcheck and literal plus sign
References: <CAJ1FpuMrKniJ7mPi0dqmZERo876q0ow2MExepC_J-D7aGnsVaA@mail.gmail.com>
 <588c8cc9.a5249d0a.d8d5b.49c2@mx.google.com>
 <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2@SystematicSw.ab.ca>
In-Reply-To: <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2@SystematicSw.ab.ca>


--PBGBEDQqt2B71F0xTD6QH1n3AaEaSPFUf
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 01/28/2017 11:45 AM, Brian Inglis wrote:
>> it did put me on the right track:
>>     $ cygcheck -p 'mingw32-g[:punct:][:punct:]' | awk 'NR>1{$0=3D$1}1'

> Your command is the same as:
>=20
> $ cygcheck -p mingw32-g[:ctnpu][:ctnpu] | sed '2,$s/\s.*//'

Not necessarily.  You forgot quotes, so depending on what is in your
current directory, that glob might expand.

>=20
> ITYM:
>=20
> $ cygcheck -p mingw32-g[[:punct:]][[:punct:]] | sed '2,$s/\s.*//'

Or, with proper quoting to shield yourself from globbing based on the
contents of the current directory:

cygcheck -p 'mingw32-g[[:punct:]][[:punct:]]' | sed '2,$s/\s.*//'

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--PBGBEDQqt2B71F0xTD6QH1n3AaEaSPFUf--

--7SCxakRAKae2I5rAGeWvX2nofqvbplKPc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYjOu5AAoJEKeha0olJ0Nqzu4H/0ZWr6Yn8DoH9AYHLPUIdl4H
7qGHAP9zhPzVfrf63I/7CSXBTZcUAKf2IWd4PIstffD3NbgHxRl437lb3O1vjre1
FgAEpGVwFM9+ZoJo4wu18KN0uDxbWQI6W6Rcgtk0Zqw3GZ0Sam9/lqcW9HLHYszY
wSJKk1P+pbUgU0NEgsJt4U0ueghX9Ai01oNdac5A4cbToA10CMN+XIlNQGmJDIVL
m2zmAbJ345NofdEFHoyYSIaI8GgXAPYxxXYLTKUWOtyxHyvnTXGM+sQdrW8cN9eS
zT/8/pR7l5BLuBIoWGmSx8KHkAJzreVimD8Dx/Jqot3SYINn6AscmRJmB9Qxjkg=
=Addf
-----END PGP SIGNATURE-----

--7SCxakRAKae2I5rAGeWvX2nofqvbplKPc--
