From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 5 05:32:34 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9969616A4A1 for ; Mon, 5 Sep 2005 05:32:32 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9238A43EE7 for ; Mon, 5 Sep 2005 05:27:56 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j855PY4C079415; Sun, 4 Sep 2005 23:25:34 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 04 Sep 2005 23:25:10 -0600 (MDT) Message-Id: <20050904.232510.04190370.imp@bsdimp.com> To: PeterJeremy@optushome.com.au From: "M. Warner Losh" In-Reply-To: <20050904194820.GC77285@cirb503493.alcatel.com.au> References: <20050904091430.GA91865@webcom.it> <431B2C28.10500@uninet.ee> <20050904194820.GC77285@cirb503493.alcatel.com.au> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 04 Sep 2005 23:25:35 -0600 (MDT) Cc: freebsd-hackers@FreeBSD.ORG, wigry@uninet.ee Subject: Re: sed not working X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 05:32:36 -0000 In message: <20050904194820.GC77285@cirb503493.alcatel.com.au> Peter Jeremy writes: : On Sun, 2005-Sep-04 20:17:28 +0300, Rein Kadastik wrote: : >Andrea Campi wrote: : >>Actually, the best way forward would probably be to mail Ruslan directly. : : Agreed. : : >LANG=C would be nice but the character classes should be implemented as : >well. I would like to be the one who concentrates on that subject but : >then I need some more information, how to actually do the job because as : >I understand, these things are quite heavily managed in FreeBSD project. : : "find /usr/src -type f | xargs egrep 'a-z|A-Z|0-9'" returns just under : 3600 hits on -current. Based on a quick scan, most of these are : regexps that should be replaced by character classes but someone will : need to manually work through them all. : : I agree with Andrea that you should mail Ruslan directly to discuss : the best way forward. A single PR with a patch for all about 3000 : problematic regexps probably couldn't be committed but we don't : want 3000 PR's about one problem either. Most of the problems are in contrib sources, which will take some time to update and correct in our upstream sources. Warner