Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 14:39:24 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Akinori MUSHA <knu@iDaemons.org>
Cc:        audit@FreeBSD.org, "Brian F. Feldman" <green@FreeBSD.org>, Mike Barcroft <mike@FreeBSD.org>, ports@FreeBSD.org
Subject:   Re: adding -P option to pkg_delete(1)
Message-ID:  <3B80F6EC.948F7633@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B80F6EC.948F7633>