From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 7 00:37:31 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87041065673; Tue, 7 Jun 2011 00:37:31 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 440DE8FC17; Tue, 7 Jun 2011 00:37:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.4/8.14.4) with ESMTP id p570OiPD089765; Tue, 7 Jun 2011 04:24:44 +0400 (MSD) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.4/8.14.4/Submit) id p570OheP089764; Tue, 7 Jun 2011 04:24:43 +0400 (MSD) (envelope-from ache) Date: Tue, 7 Jun 2011 04:24:43 +0400 From: Andrey Chernov To: Jilles Tjoelker Message-ID: <20110607002442.GA89483@vniz.net> Mail-Followup-To: Andrey Chernov , Jilles Tjoelker , freebsd-hackers@FreeBSD.ORG, freebsd-i18n@FreeBSD.ORG References: <20110606224105.GA92410@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110606224105.GA92410@stack.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-i18n@FreeBSD.ORG Subject: Re: tr A-Z a-z in locales other than C 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: Tue, 07 Jun 2011 00:37:31 -0000 On Tue, Jun 07, 2011 at 12:41:05AM +0200, Jilles Tjoelker wrote: > > There is a related issue with ranges in regular expressions, glob and > fnmatch (likewise unspecified by POSIX outside the POSIX locale), but > this is less likely to cause problems. > You care about ports, but suggested change is americano-centrism which kills tr usage for national language documents due to impossibility to specify whole national alphabet easily, just by two letters. Moreover, having differently treated regex ranges in tr vs other places you mention will produce additional chaos. Back to the ports: it is not hard to run _any_ port's make or configure with LANG=C directly by the ports Mk system to eliminate that problem. -- http://ache.vniz.net/