From owner-freebsd-ports Sun Feb 25 12:31:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 4FDDB37B503; Sun, 25 Feb 2001 12:31:34 -0800 (PST) (envelope-from max@vic.sabbo.net) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f1PKVSv12887; Sun, 25 Feb 2001 22:31:30 +0200 Received: (from max@localhost) by vic.sabbo.net (8.11.2/8.11.2) id f1PKVib31509; Sun, 25 Feb 2001 22:31:44 +0200 (EET) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200102252031.f1PKVib31509@vic.sabbo.net> Subject: Re: pkg_delete and wildcards/regexs (and some other improvements) [patch] To: sobomax@FreeBSD.org (Maxim Sobolev) Date: Sun, 25 Feb 2001 22:31:44 +0200 (EET) Cc: ports@FreeBSD.org, jkh@FreeBSD.org In-Reply-To: <3A97C8A1.69510FA4@FreeBSD.org> from "Maxim Sobolev" at Feb 24, 2001 04:43:45 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > This is a multi-part message in MIME format. > --------------C9D108B6908515FB86A3C83F > Content-Type: text/plain; charset=koi8-r > Content-Transfer-Encoding: 7bit > > Hi folks, > > With this message I'm attaching patch that brings recent addition of > wildcards/regexs match in pkg_info(1) into pkg_delete(1) as well. The code is > almost ready for commit, though I'm planning to add some more error checking > and evaluating possibility to move matchinstalled() call one level up, into > main(). Nevrtheless, I would like to hear your comments and suggestions > regarding proposed change. With this message I'm attaching ready-to-commit patch, complete with manual updates, usage() updates etc. Also as a bonus with this patch comes simple rm(1)-like functionality for pkg_delete(1), which allows one to manually select packages to be deleted. Please all interested parties review and comment on attached patches, as I'm going to commit it tomorrow. Thanks! -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message