From owner-freebsd-questions@freebsd.org Tue Jun 7 13:38:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA183B6E65A for ; Tue, 7 Jun 2016 13:38:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 727CF1ACC for ; Tue, 7 Jun 2016 13:38:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [38.64.177.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 8039910F71 for ; Tue, 7 Jun 2016 13:38:45 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/8039910F71; dkim=none; dkim-atps=neutral Subject: Re: pkg delete dilema To: freebsd-questions@freebsd.org References: <86inylhd5s.fsf@WorkBox.Home> <20160511084754.5b2e9d05@Papi> <20160511115637.GA4375@c720-r292778-amd64> <20160511092601.6032ef9f@Papi> <20160606083258.GA3697@c720-r292778-amd64> From: Matthew Seaman Message-ID: Date: Tue, 7 Jun 2016 09:38:37 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160606083258.GA3697@c720-r292778-amd64> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hKfdD0A5S1l7J44msiWVWok8SBBCG0QLl" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2016 13:38:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hKfdD0A5S1l7J44msiWVWok8SBBCG0QLl Content-Type: multipart/mixed; boundary="4jEefKSETpQKxoX2Jg2j5X01aCJ4sGjmP" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: pkg delete dilema References: <86inylhd5s.fsf@WorkBox.Home> <20160511084754.5b2e9d05@Papi> <20160511115637.GA4375@c720-r292778-amd64> <20160511092601.6032ef9f@Papi> <20160606083258.GA3697@c720-r292778-amd64> In-Reply-To: <20160606083258.GA3697@c720-r292778-amd64> --4jEefKSETpQKxoX2Jg2j5X01aCJ4sGjmP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/06/2016 04:32, Matthias Apitz wrote: > # pkg query '%a %n' | fgrep '0 ' | sed 's/0 //' > what-I-have-installed= =2Etxt This is more usually spelled as: # pkg query -e '%a =3D=3D 0' %n > what-I-have-installed.txt Cheers, Matthew --4jEefKSETpQKxoX2Jg2j5X01aCJ4sGjmP-- --hKfdD0A5S1l7J44msiWVWok8SBBCG0QLl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXVs5jXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATmuAP/jCkZQhjbGYb0PVbuVhtYW1C AjLKohiSHm1htokCEPnR/lQnex21QtLF4kGrazFDGMJQAfLcI+wKSkIB2yfhOD+x jKJzhMu5jA1vjj5og+S+08GAg93EttVy52WhN05j1Hg5MKfSVmNSFfaTttM84TP/ Z4mMDi7IqOGVWhxxwVEBOd5oLMV4whgVQEjpTxL2IvxC8CoaMpbjlaAXS4X7nwNM 8rLRmciMH+pOS9jgbdKpNCkLmCVych312I2D5JtvyPktL+X0D6PE01jlyU9mjHZC 8RMPEhBr9tJTmB65r7Fe0idYDx0C2YZ0/GNy5M7jajIDuG1a/fVEOvt3ShHKzsAq 3bFz3lTodEfP4AF/kQQAgIfePxInRRF1JRzI4GbUkxvbZ9PpuFCSR4ACqAPx6qWJ 54f/iLJwFM5vSilAx9shbfXBTyu/jVpjUlLq56rO6YrFkvWE+kOqCD/oT6djPQGQ Ll6ybMZngm0NyDrTXbI63+2seszWBS7sWF6qvNN+5qfmvOHso9ebf0LyqJYql5Mg DNt8VBoX3pq9qlka5I8Z2ZAJQUd/oPzNzM41rI2DwfKnfTbCYJpIJEUIrZLj1Nj/ yCzcxybnHbx1Vb9AnnkiOqTJz0mtJ/457O4tXDbaxEUaz1DD7bDwbuTqL9iU8Eqr QYw+VI9KiInGUyskj4dx =GcA4 -----END PGP SIGNATURE----- --hKfdD0A5S1l7J44msiWVWok8SBBCG0QLl--