From owner-cvs-all Wed Jan 12 10:18:52 2000 Delivered-To: cvs-all@freebsd.org Received: from nu.binary.net (nu.binary.net [12.13.120.25]) by hub.freebsd.org (Postfix) with ESMTP id 12BAF14CD4; Wed, 12 Jan 2000 10:18:47 -0800 (PST) (envelope-from nathan@rtfm.net) Received: from matrix.binary.net (root@matrix.binary.net [12.13.120.2]) by nu.binary.net (8.9.1a/8.9.0) with ESMTP id MAA81225; Wed, 12 Jan 2000 12:18:42 -0600 (CST) Received: (from nathan@localhost) by matrix.binary.net (8.9.3/8.9.1) id MAA27638; Wed, 12 Jan 2000 12:19:41 -0600 (CST) Date: Wed, 12 Jan 2000 13:19:41 -0500 From: Nathan Dorfman To: Kris Kennaway Cc: "Matthew D. Fuller" , "Rodney W. Grimes" , "Jordan K. Hubbard" , Jeroen Ruigrok van der Werven , 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> References: <20000111184544.B22816@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Kris Kennaway on Tue, Jan 11, 2000 at 05:09:06PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 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