From owner-cvs-all Tue Jan 11 23: 7:12 2000 Delivered-To: cvs-all@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 9C57515467; Tue, 11 Jan 2000 23:07:03 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 128Hri-000EVU-00; Wed, 12 Jan 2000 09:06:46 +0200 From: Sheldon Hearn To: "Jordan K. Hubbard" Cc: Kris Kennaway , "Matthew D. Fuller" , "Rodney W. Grimes" , 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 In-reply-to: Your message of "Tue, 11 Jan 2000 17:21:01 PST." <1777.947640061@zippy.cdrom.com> Date: Wed, 12 Jan 2000 09:06:46 +0200 Message-ID: <55767.947660806@axl.noc.iafrica.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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