From owner-freebsd-ports Mon Aug 20 4:40:28 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 60B9137B40F; Mon, 20 Aug 2001 04:40:10 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (dialup6-28.iptelecom.net.ua [212.9.227.92]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id OAA24185; Mon, 20 Aug 2001 14:39:58 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f7KBcRo15297; Mon, 20 Aug 2001 14:38:27 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B80F6EC.948F7633@FreeBSD.org> Date: Mon, 20 Aug 2001 14:39:24 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Akinori MUSHA Cc: audit@FreeBSD.org, "Brian F. Feldman" , Mike Barcroft , ports@FreeBSD.org Subject: Re: adding -P option to pkg_delete(1) References: <86ofpl0yq8.wl@archon.local.idaemons.org> <200108122310.f7CNAUZ01898@green.bikeshed.org> <86k804weed.wl@archon.local.idaemons.org> <3B80E75F.4C1C578F@FreeBSD.org> <864rr355y7.wl@archon.local.idaemons.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Akinori MUSHA wrote: > At Mon, 20 Aug 2001 13:33:03 +0300, > sobomax wrote: > > Please hold on. What is the purpose of this feature? I can't recall > > any discussion regarding the topic. > > It's okay, but why don't you just try to read the patch in which the > purpose of the feature is *explicitly* written? Well, perhaps you misread my question. I meant "what the code in question is expected to be used for?", not "what the code in question does?". Also idea to hardcode regex (two of them actually) into an utility doesn't looks very solid to me, instead I would like to see it be specificable (or at least overrideable) from the command line, i.e.: # pkg_delete -P ^.\*foo.bar foo-0.0 (don't delete files which end with `foo.bar'). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message