Date: Wed, 12 Jan 2000 13:19:41 -0500 From: Nathan Dorfman <nathan@rtfm.net> To: Kris Kennaway <kris@hub.freebsd.org> Cc: "Matthew D. Fuller" <fullermd@futuresouth.com>, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Jeroen Ruigrok van der Werven <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: <20000112131941.A27482@rtfm.net> In-Reply-To: <Pine.BSF.4.21.0001111708410.89967-100000@hub.freebsd.org>; from Kris Kennaway on Tue, Jan 11, 2000 at 05:09:06PM -0800 References: <20000111184544.B22816@futuresouth.com> <Pine.BSF.4.21.0001111708410.89967-100000@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 11, 2000 at 05:09:06PM -0800, Kris Kennaway wrote: > On Tue, 11 Jan 2000, Matthew D. Fuller wrote: > > > Wasn't there a discussion some time ago about making pkg_delete accept a > > '/var/db/pkg/package-name-version' argument to allow use of filename > > completion? Some of those package names are rather convulted and painful > > to type. Was there ever a 'yes' or 'no' decision on that, or is it just > > waiting for someone to write patches (yes, maybe I am offering...)? > > I'd love this to work :-) How about just specifying the package and having pkg_delete (or pkg_info for that matter) fill in the missing version number itself? pkg_delete foo instead of pkg_delete foo-1.2.4b33-blah If more than one version of foo is installed it is possible to either delete all of them or print them all to stderr and stop (perhaps selectable with a command-line option). I suppose I'm willing to submit a patch if someone is willing to commit it. > Kris -- Nathan Dorfman <nathan@rtfm.net> The statements and opinions in my Unix Admin @ Frontline Communications public posts are mine, not FCC's. "The light at the end of the tunnel is the headlight of an approaching train." --/usr/games/fortune 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?20000112131941.A27482>