Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 18:37:36 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Anonymous <swell.k@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: i keep *trying* to move from portupgrade to portmaster
Message-ID:  <4C696950.5080408@bsdforen.de>
In-Reply-To: <86r5i37lat.fsf@gmail.com>
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> <86r5i37lat.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/08/2010 20:11, Anonymous wrote:
> 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

I wasn't aware that pkg_create can create several packages at once,
thanks for that!

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C696950.5080408>