Date: Sat, 06 Apr 2013 19:33:13 +0400 From: Andrey Chernov <ache@freebsd.org> To: Cedric Blancher <cedric.blancher@googlemail.com> Cc: freebsd-i18n@freebsd.org Subject: Re: Where does FreeBSD tr -C differ from tr -c? Message-ID: <51604039.5070804@freebsd.org> In-Reply-To: <CALXu0UePf0Hz2_m7rtNDtv8h5VnnuQRmpJY2eDkaK%2ByePY-4Fg@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51604039.5070804>