Date: Thu, 12 Aug 2010 22:11:54 +0400 From: Anonymous <swell.k@gmail.com> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: freebsd-ports@freebsd.org Subject: Re: i keep *trying* to move from portupgrade to portmaster Message-ID: <86r5i37lat.fsf@gmail.com> In-Reply-To: <4C643056.7060602@bsdforen.de> (Dominic Fandrey's message of "Thu, 12 Aug 2010 19:33:10 %2B0200") References: <AANLkTinBJo0M-5fL=ATeY0KXnjA3O-7=TOLMF0X6dzdC@mail.gmail.com> <4C5BC280.1070805@FreeBSD.org> <AANLkTinfXC%2B4J-ZVyUShqKNS3AgpXgwDtnMjVx=iSo9K@mail.gmail.com> <4C5BF352.5050004@dataix.net> <4C5C7DFF.8020400@FreeBSD.org> <AANLkTinmwuncNLGqMJRSVk3bnJWjkSRT%2B9atOuEn5haw@mail.gmail.com> <4C5C88AE.4070500@FreeBSD.org> <AANLkTimE8=bF6ib1DLikMCmsQ6%2BWnOgFkZz7VYXtKg-u@mail.gmail.com> <4C643056.7060602@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Dominic Fandrey <kamikaze@bsdforen.de> writes: > On 07/08/2010 02:46, Adam Vande More wrote: >> On Fri, Aug 6, 2010 at 5:11 PM, Doug Barton <dougb@freebsd.org> wrote: >> >>> On 08/06/2010 15:03, Adam Vande More wrote: >>> >>> for pkg in /var/db/pkg/* ; do >>> pkg_create -b $pkg >>> done >>> >> > > You guys are loosing opportunities to boast with your shell one liners > > # pkg_info -Ea | xargs -n1 pkg_create -b Why do you need xargs(1) when pkg_create(1) supports regexps as well as simple globs? $ pkg_create -b \* # all packages $ pkg_create -xb firefox # only firefox
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r5i37lat.fsf>