From owner-freebsd-current@FreeBSD.ORG Sun May 2 02:49:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3097E16A4CE for ; Sun, 2 May 2004 02:49:25 -0700 (PDT) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id E1B4543D2F for ; Sun, 2 May 2004 02:49:23 -0700 (PDT) (envelope-from neuhauser@chello.cz) Received: (qmail 19577 invoked by uid 0); 2 May 2004 09:49:22 -0000 Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16) by smtp.dkm.cz with SMTP; 2 May 2004 09:49:22 -0000 Received: by isis.wad.cz (Postfix, from userid 1001) id 8CDF32FDA01; Sun, 2 May 2004 11:49:22 +0200 (CEST) Date: Sun, 2 May 2004 11:49:22 +0200 From: Roman Neuhauser To: Oliver Eikemeier Message-ID: <20040502094922.GA1813@isis.wad.cz> Mail-Followup-To: Oliver Eikemeier , FreeBSD -CURRENT References: <4093915F.4090403@fillmore-labs.com> <20040501142926.GB599@isis.wad.cz> <4093B938.3000809@fillmore-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4093B938.3000809@fillmore-labs.com> User-Agent: Mutt/1.5.6i cc: FreeBSD -CURRENT Subject: Re: pkg_install patches for review / testing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 09:49:25 -0000 # eikemeier@fillmore-labs.com / 2004-05-01 16:50:32 +0200: > Roman Neuhauser wrote: > ># eikemeier@fillmore-labs.com / 2004-05-01 14:00:31 +0200: > >>This patch add the following features to the pkg_install suite of tools: > >> > >>* new flags: > >> > >>-X: use extended regular expression instead of basic ones (pkg_info, > >> pkg_delete, pkg_version) (PR 56961) > > > >>-E: show only matching package names and set the return code (pkg_info) > >> (PR 56961) > > > > Shouldn't these two be swapped to match sed, grep, etc? > > I've modeled them after -x and -e: > > pkg_info -x -> regular expressions, pkg_info -X -> exended regular > expressions > The pkg_* tools have a plethora of inconsistent knobs, but they are mainly > used in scripts. I don't really care, but I already use -E in portaudit, so > do you think it is really worth the effort? Of course I *can* check the > version number, so switching the flags is possible. Given the circumstances you've described I have no opinion on the matter. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html