From owner-cvs-src@FreeBSD.ORG Fri Nov 11 21:29:33 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CA4A16A41F; Fri, 11 Nov 2005 21:29:33 +0000 (GMT) (envelope-from krion@voodoo.bawue.com) Received: from voodoo.bawue.com (voodoo.bawue.com [212.9.161.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405F143D46; Fri, 11 Nov 2005 21:29:33 +0000 (GMT) (envelope-from krion@voodoo.bawue.com) Received: from krion by voodoo.bawue.com with local (Exim 4.54 (FreeBSD)) id 1EagSj-000N7x-D3; Fri, 11 Nov 2005 22:29:33 +0100 Date: Fri, 11 Nov 2005 22:29:33 +0100 From: Kirill Ponomarew To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20051111212933.GY67238@voodoo.bawue.com> References: <200511110808.jAB884DO074943@repoman.freebsd.org> <20051111211307.GA12552@holestein.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051111211307.GA12552@holestein.holy.cow> X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Keywords: 477273987 Cc: Subject: Re: cvs commit: src/usr.sbin/pkg_install/create create.h main.c perform.c pkg_create.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 21:29:34 -0000 On Fri, Nov 11, 2005 at 04:13:07PM -0500, Parv wrote: > in message <200511110808.jAB884DO074943@repoman.freebsd.org>, > wrote Kirill Ponomarew thusly... > > > ... > > date: 2005/11/08 20:48:26; author: krion; state: Exp; lines: +1 -0 > > Introduce 3 new options for pkg_create(1), -x for using basic > > regular expressions for pkg-name, -E for extended regexps and -G > > for exact matching. These new options are only meaningful when > > using the -b flag of pkg_create(1), and that the default for the > > -b parameter is now to do glob matching, as in other pkg_foo > > utilities that support package patterns. > > Thanks much. > > Is there any plan, now or later, to match up all the regex options > in various pkg_* commands? pkg_info (on 5.4) currently has -[xX] > for regex; above will introduce -[ExG], where -x option seem to be > doing the same thing both in pkg_info & pkg_create. I notice that > pkg_create uses -X for exclusion. Hmm... Yeah, probably I'll standardize the flags between pkg_* tools. -Kirill