delorie.com/archives/browse.cgi | search |
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: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 AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-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 AT cygwin DOT com |
References: | <CAJ1FpuMrKniJ7mPi0dqmZERo876q0ow2MExepC_J-D7aGnsVaA AT mail DOT gmail DOT com> <588c8cc9 DOT a5249d0a DOT d8d5b DOT 49c2 AT mx DOT google DOT com> <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2 AT SystematicSw DOT ab DOT ca> |
From: | Eric Blake <eblake AT redhat DOT 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> |
X-IsSubscribed: | yes |
--7SCxakRAKae2I5rAGeWvX2nofqvbplKPc Content-Type: multipart/mixed; boundary="PBGBEDQqt2B71F0xTD6QH1n3AaEaSPFUf"; protected-headers="v1" From: Eric Blake <eblake AT redhat DOT com> To: cygwin AT cygwin DOT com Message-ID: <8ce40df2-0a8f-4128-9107-ea2f16ec7fca AT redhat DOT com> Subject: Re: cygcheck and literal plus sign References: <CAJ1FpuMrKniJ7mPi0dqmZERo876q0ow2MExepC_J-D7aGnsVaA AT mail DOT gmail DOT com> <588c8cc9 DOT a5249d0a DOT d8d5b DOT 49c2 AT mx DOT google DOT com> <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2 AT SystematicSw DOT ab DOT ca> In-Reply-To: <a8ddccfc-6eed-0d05-b756-f95d7e5ccdf2 AT SystematicSw DOT ab DOT 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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |