Date: Tue, 25 Mar 2008 15:38:10 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Lars Stokholm <lars.stokholm@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Behavior of portmaster -e Message-ID: <47E97ED2.60206@FreeBSD.org> In-Reply-To: <47E9487D.6000909@gmail.com>
index | next in thread | previous in thread | raw e-mail
Lars Stokholm wrote:
> First of all, I love portmaster. :)
Thanks. :)
> Second, I did a "portmaster -e docbook-*" and since it finished
> successfully, I expected it had deleted all of my docbook ports, but it
> hadn't. From what I could see it had just deleted the first match.
>
> Shouldn't it delete all docbook-* ports? If not, shouldn't it fail,
> instead of just deleting the first match?
A long time ago a user proposed that portmaster support globbing for
names in /var/db/pkg, and the user that suggested it thought that the
way it should work is one port at a time. Since I didn't have any strong
feelings about that, I went with their suggestion.
However, as time goes on it has become increasingly obvious that most
users expect anything with a * at the end to match _all_ ports that
match the pattern, not just one. In order to support that I will have to
rework the parser a bit, which I don't have time for right at the
moment, but should be able to get to soon.
Doug
--
This .signature sanitized for your protection
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E97ED2.60206>
