Date: Wed, 12 Jan 2000 09:06:46 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> Cc: Kris Kennaway <kris@hub.FreeBSD.ORG>, "Matthew D. Fuller" <fullermd@futuresouth.com>, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, 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: <55767.947660806@axl.noc.iafrica.com> In-Reply-To: Your message of "Tue, 11 Jan 2000 17:21:01 PST." <1777.947640061@zippy.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Jan 2000 17:21:01 PST, "Jordan K. Hubbard" wrote: > 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. Well, if pkg_delete stripped off the path to a package name, you wouldn't need to do all this work. You could just: pkg_delete /var/db/pkg/emacs* :-) Ciao, Sheldon. 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?55767.947660806>