Date: Sun, 27 Mar 2011 00:26:23 -0700 From: perryh@pluto.rain.com To: dougb@freebsd.org Cc: rg.lists@rzweb.com, freebsd-ports@freebsd.org Subject: Re: Updating multiple ports with portmaster Message-ID: <4d8ee69f.sDPKG5fISx5FNrmy%perryh@pluto.rain.com> In-Reply-To: <4D8EBDBA.6070602@FreeBSD.org> References: <61994f32f152b25487eaf153546ab59f@flabnapple.net> <4D8E18AF.6010906@FreeBSD.org> <4D8E1B9D.8050402@infracaninophile.co.uk> <4D8EBDBA.6070602@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@freebsd.org> wrote: > On 03/26/2011 10:00, Matthew Seaman wrote: > > pkg_version -vIL= | awk '/^p5-/ { print $1 }' | xargs portmaster > > That's a good suggestion, but if you want to use that technique, better > would be: portmaster `pkg_version -vIL= | awk '/^p5-/ { print $1 }'` ... Unless the number of ports involved is very large, either should produce exactly the same effect. Absent a -n or -s switch, xargs collects up to 5000 args or a ~250KB command line for each invocation of (in this case) portmaster.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d8ee69f.sDPKG5fISx5FNrmy%perryh>