From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 16:18:14 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B192B487; Sat, 6 Apr 2013 16:18:14 +0000 (UTC) (envelope-from sebastian.n.feld@gmail.com) Received: from mail-ia0-x241.google.com (mail-ia0-x241.google.com [IPv6:2607:f8b0:4001:c02::241]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7CF3D2; Sat, 6 Apr 2013 16:18:14 +0000 (UTC) Received: by mail-ia0-f193.google.com with SMTP id k27so920562iad.4 for ; Sat, 06 Apr 2013 09:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=lhGDmQz+f0tyd8nQtnIQHS08yA0SATGKF4ShKOOU7lI=; b=LMbXa6nhbUYoAbFnisrQk6UfyMVVZ1YKDYg+kufEkQM8p7IZPqnJF2sEvOkJZY9yCT ZsiWLF2Im+iBthIfu7fTfXbyyOmAAPi8g6XkZFTj5ITlHH+fHLscEmCfBaXniomJa1wn jSGlB/Qz7whz78quNIsgu+PUdZtSw1sttbu6Di4ziswJSvFmMYFFr3uOpN+f0zK4DJy/ HQGMZOFn3LdsV5htJPqMVb5R86KjQaobfn5UwceR/3Uup2VKFNQ6wfQVg1hediaVK7ge zMdSNlgM15rahoIdpoHITyxROxcOEvWWY5oMfmxTZZJk2Ik9PzpMfp9FtbgGIz40Es1F 7/mA== MIME-Version: 1.0 X-Received: by 10.42.54.5 with SMTP id p5mr8079017icg.49.1365265093620; Sat, 06 Apr 2013 09:18:13 -0700 (PDT) Received: by 10.42.101.20 with HTTP; Sat, 6 Apr 2013 09:18:13 -0700 (PDT) In-Reply-To: <51604039.5070804@freebsd.org> References: <515FECFA.50408@freebsd.org> <51604039.5070804@freebsd.org> Date: Sat, 6 Apr 2013 18:18:13 +0200 Message-ID: Subject: Re: Where does FreeBSD tr -C differ from tr -c? From: Sebastian Feld To: Andrey Chernov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-i18n@freebsd.org X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 16:18:14 -0000 On Sat, Apr 6, 2013 at 5:33 PM, Andrey Chernov wrote: > On 06.04.2013 17:02, Cedric Blancher wrote: >> On 6 April 2013 14:58, Cedric Blancher wrote: >>> On 6 April 2013 11:38, Andrey Chernov wrote: >>>> On 06.04.2013 2:10, Cedric Blancher wrote: >>>>>> I tried this (ksh93) test script but it NEVER produces a difference in >>>>>> the en_US.utf8 and fr_FR.utf-8 locales: >>>> >>>>> Anyone? FreeBSD tr implements option -C but there are no usage >>>>> *examples* where exactly it differs from -c. >>>> >>>> For -C you need multibyte locale. >>> >>> I know. I'm looking for examples in whatever locale is suitable for >>> such locales (fr_FR.UTF-8 or en_US.UTF-8 preferred). >> >> ...whatever locale is suitable for such *examples* [not locales].... > > Try with Chinese or Japanese ones, non utf-8 first. FreeBSD tr implements tr -C. There are supposed to be tests to verify this, right?