Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Feb 2014 07:05:49 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Jeffrey Bouquet <jeffreybouquet@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [FreeBSD-Ports-Announce] Time to bid farewell to the old pkg_ tools
Message-ID:  <52F0914D.9070507@FreeBSD.org>
In-Reply-To: <52F05D20.7090803@yahoo.com>
References:  <201402032124.s13LOS4r042824@fire.js.berklix.net> <52F01A75.7050409@FreeBSD.org> <52F05D20.7090803@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--07HNarqRORig20UdpUXxOXiWpbK0TsrhR
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/02/2014 03:23, Jeffrey Bouquet wrote:
> /# find /var/db/pkg -type d -name "p5*" | xargs -J % find -type f -name=

> "+CONTENTS" -exec grep -H "5.12" {} \; | grep pm | gtr -s \/ "\n" | gre=
p
> p5 | sort | uniq | xargs -J % portmaster -d -B -P -i -g % && yell || ye=
ll
>=20
> That pipe, corrected ( the working version includes an incrementing |
> head -NN |  thru hundreds of p5 upgrades,  15-25  at a time,
> so easy completion of the upgrade  with
> only a repeat with the up arrow and a minor edit ,)  handily upgraded a=

> /perl5/ subdirectory to
> the default on several installs.

Which is a remarkably complicated equivalent to:

   pkg set -o perl5.12:perl5.16
   pkg install -fR perl5.16

I'm sure though if you really must have fun with pipelines that you
could start with:

   pkg query %ro perl5

but working out how to divide that into chunks and feed into portmaster
is up to you.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJS8JFWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT0BgP/3yI6XuIJZnhSZS0tujgyOac
RmaPVLlgYl5U4I4dDEc+woT4ci1+YmqHszX6d77ScSHLd+eP1GsVkT4qYlHsSddI
RpndcftQ8eDaItrHYoV+KdYw/QXVs/6En89bdXcWV/31TX7fONBXPJDd4X3xh7cX
WcAhV7ZYI6z7KKLeIYy63VQMMtbHTUOXUogBYpa7hFwDk716n/2QFLXCXfjq8P5B
r4iK3h+tu8/HcCACo1WhKflw/Vw/7yzHB94swVsXmhoI6BWHDEdM905qFKfu2E4I
ydR8UcMtQ5dJsJmaabB9Fn+hgmBuDP0SiUtD8WGHTcBH/wLYJJx2BuDuM5DNRTyB
PvZnp0hyn3K3GYg5AsU40t9WPgBBH+kKiJcICIGCRnShw9SpdbQ4qBAMsFgTFItl
CHLYXS/B37HyKQTiydfPyhzxSRSMckHwfEX3YJi6V+3t3kWsy0OxVUYgykdhQnpo
8b6ochEe2zK7/UAveTbIKvTdqW1tHFy/4781kDUEys6sO7zReAuTazOnMsULCB7C
Ebjcooc5iSYZDVJXskCQ4OKmDk6MTFjNI7Ua0wMmp3xJh3yxVzVZwF5EWvQNjC7k
lviE2m7IjNP+dWPV5glbovhfssG9pjsro93XHfjo7Hee6rNYeSrU+rr8OTvg+mxK
vuYamzXlpYQi1G0rxQEp
=VaAr
-----END PGP SIGNATURE-----

--07HNarqRORig20UdpUXxOXiWpbK0TsrhR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F0914D.9070507>