From owner-freebsd-ports Tue Feb 6 1:28:57 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (pop3.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 5F5F737B401; Tue, 6 Feb 2001 01:28:10 -0800 (PST) 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 f169R6825381; Tue, 6 Feb 2001 11:27:08 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.2/8.9.3) with ESMTP id f169R8936858; Tue, 6 Feb 2001 11:27:08 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A7FC36A.1434D2CC@FreeBSD.org> Date: Tue, 06 Feb 2001 11:27:07 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Jordan Hubbard Cc: Peter Pentchev , ports@FreeBSD.org, jkh@FreeBSD.org, Edwin Groothuis Subject: Re: Request for comments [Fwd: bin/24695: [patch] pkg_info: prefix search for a package] References: <10197.981450491@winston.osd.bsdi.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jordan Hubbard wrote: > > but was away from e-mail) ;). What do you think if I reimplement 'fuzzy' and > > 'prefix' options from original proposal into `glob' and `regex' options? So > > regex kidz would be able say "-x .*foo.*", while glob-lovers "-g *foo*". > > I love it. You could even make -g "implicit", e.g. I don't see any > reason why "pkg_info emacs*" shouldn't just work, right? The only > time you really need to pass a flag is to indicate a particular type > of globbing, e.g. regex. Agreed. I already have globbing in place, so expect patches soon ;). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message