Date: Sat, 6 Apr 2013 18:18:13 +0200 From: Sebastian Feld <sebastian.n.feld@gmail.com> To: Andrey Chernov <ache@freebsd.org> Cc: freebsd-i18n@freebsd.org Subject: Re: Where does FreeBSD tr -C differ from tr -c? Message-ID: <CAHnbEGJ4DVfBZiSvOdid53aNPO4DKAG1NfqA==haDFS1oxH%2BOQ@mail.gmail.com> In-Reply-To: <51604039.5070804@freebsd.org> References: <CALXu0Ue5uX05md777qJP8rHKZR1f1L-%2B0CR3Osjo1rRET8shrg@mail.gmail.com> <CALXu0Uc28U9DkChvNLVJzb57aQNPcdz8yvLxu_LvmTBRZRMW1w@mail.gmail.com> <515FECFA.50408@freebsd.org> <CALXu0UeiVuAM5kFiJbASUXnka1GN%2BjYLYNnZkUo1FPBiKE0WSA@mail.gmail.com> <CALXu0UePf0Hz2_m7rtNDtv8h5VnnuQRmpJY2eDkaK%2ByePY-4Fg@mail.gmail.com> <51604039.5070804@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 6, 2013 at 5:33 PM, Andrey Chernov <ache@freebsd.org> wrote: > On 06.04.2013 17:02, Cedric Blancher wrote: >> On 6 April 2013 14:58, Cedric Blancher <cedric.blancher@googlemail.com> wrote: >>> On 6 April 2013 11:38, Andrey Chernov <ache@freebsd.org> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHnbEGJ4DVfBZiSvOdid53aNPO4DKAG1NfqA==haDFS1oxH%2BOQ>