Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 15:42:13 +0900
From:      Akinori MUSHA aka knu <knu@idaemons.org>
To:        jkh@zippy.cdrom.com
Cc:        kris@hub.freebsd.org, fullermd@futuresouth.com, freebsd@gndrsh.dnsmgr.net, asmodai@bart.nl, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/delete perform.c 
Message-ID:  <86vh4z3i62.wl@localhost.local.idaemons.org>
In-Reply-To: In your message of "Tue, 11 Jan 2000 17:21:01 -0800" <1777.947640061@zippy.cdrom.com>
References:  <Pine.BSF.4.21.0001111708410.89967-100000@hub.freebsd.org> <1777.947640061@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	Hi,

At Tue, 11 Jan 2000 17:21:01 -0800,
Jordan K. Hubbard <jkh@zippy.cdrom.com> wrote:
> I think the wider objective should be to make wildcarding work
> for all the pkg_foo tools (where it makes sense).
> 
> That is to say that it should be possible to say:
> 
>      pkg_info '*apache*'
>      pkg_delete 'emacs*'
> 
> etc.  And no, I don't have time to write the code which takes a regexp
> and iteratively matches it against directory components in
> /var/db/pkg, but I can certainly say that it should be easy enough to
> implement for anyone who DOES have the time. :-)

	FYI, Sada-san (one of the committers) wrote a nice package
remover named `pkg_remove' which port was posted as ports/16025 (not
imported yet).  It will do more than expected above, like it removes
not only the packages targeted by a regexp, but also the packages
which depends on the ones to be removed recursively.  Try it out and
get it in!

	I hope its powerful functionality would be integrated into
pkg_delete (-r option or something), since it's somewhat confusing
that both pkg_delete and pkg_remove co-exist.

-- 
                     /
                    /__  __
                   / )  )  ) )  /  http://www.idaemons.org/knu/
Akinori MUSHA aka / (_ /  ( (__(   mailto:knu@idaemons.org

"We are but hungry..  Associated Ita-meshi Daemons!"
                                   http://www.idaemons.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vh4z3i62.wl>