From owner-freebsd-stable@FreeBSD.ORG Fri Feb 3 22:06:28 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4193D16A420 for ; Fri, 3 Feb 2006 22:06:28 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EFD743D53 for ; Fri, 3 Feb 2006 22:06:27 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 14ABC1A3C1E; Fri, 3 Feb 2006 14:06:27 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 615DF5155A; Fri, 3 Feb 2006 17:06:26 -0500 (EST) Date: Fri, 3 Feb 2006 17:06:26 -0500 From: Kris Kennaway To: Martin Message-ID: <20060203220626.GA8814@xor.obsecurity.org> References: <43E3B356.7030203@nurfuerspam.de> <20060203200036.GE38470@dan.emsphone.com> <43E3BBBF.4000702@nurfuerspam.de> <20060203211327.GF38470@dan.emsphone.com> <43E3D1F1.60905@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <43E3D1F1.60905@nurfuerspam.de> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Dan Nelson Subject: Re: tr(1) buggy with de_DE.ISO8859-1(5) locale? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 22:06:28 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 03, 2006 at 10:58:09PM +0100, Martin wrote: > Dan Nelson wrote: > >tr uses the collation sequence when expanding ranges, so the real > >problem is that the lowercase range "s-w" expands to "s??tu????????vw", = and > >the uppercase range "S-W" expands to "STU????????VW", which is a smaller > >set. > > > >An alternative would be to use "tr stuvw STUVW" or "tr stu????????vw > >STU????????VW". >=20 > My real problem is that I could not figure out why ffmpeg-devel did not > compile with MPEG-support, than I found this in its config.h: >=20 > #define CONFIG_OGGWORBIS_ENCODER 1 > #define CONFIG_OGGWORBIS_DECODER 1 > #define CONFIG_OGGUHEORA_ENCODER 1 > #define CONFIG_OGGUHEORA_DECODER 1 > #define CONFIG_YWID_ENCODER 1 > #define CONFIG_MPEG1WIDEO_ENCODER 1 > #define CONFIG_MPEG2WIDEO_ENCODER 1 > #define CONFIG_RW10_ENCODER 1 > #define CONFIG_RW20_ENCODER 1 > #define CONFIG_MSMPEG4W1_ENCODER 1 > #define CONFIG_MSMPEG4W2_ENCODER 1 > #define CONFIG_MSMPEG4W3_ENCODER 1 > #define CONFIG_XMW1_ENCODER 1 > #define CONFIG_XMW2_ENCODER 1 > #define CONFIG_SWQ1_ENCODER 1 > #define CONFIG_PGM????W_ENCODER 1 > #define CONFIG_H??FF????W_ENCODER 1 > #define CONFIG_FFWH??FF_ENCODER 1 > #define CONFIG_ASW1_ENCODER 1 > #define CONFIG_ASW2_ENCODER 1 >=20 > etc. etc. >=20 > I guess I have to set root user back to "C" locale. :( > I can imagine that many people are using "tr a-z A-Z" > (or similar) in configuration-scripts. There is a PR about this that contains a patch you could try. However, I don't know what other surprises may be lurking with non-C locales, and I need to schedule a full package build to find out. Kris --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD49PiWry0BWjoQKURAld9AKDghtNgPTaBWrNqbElF/rtVLZsctACgtgRm wIFmY++No+rtshEuhcDFUNs= =WZYe -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--