From owner-freebsd-i18n@FreeBSD.ORG Fri Apr 5 14:04:03 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 3CAA71E2 for ; Fri, 5 Apr 2013 14:04:03 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 16B28878 for ; Fri, 5 Apr 2013 14:04:03 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id a11so4403323iee.11 for ; Fri, 05 Apr 2013 07:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=rHkecXT+t+AqBy9iAVFfIfWuTi8OIf74bDVdZiwnT3o=; b=fPsQF+siXK5Jz+K8v/SYVoqR104O0qioVe8ayuFZTcWi9R1VX7e96vbAo2YvEijmvo +9/kJDqOXprYFYGjRRoyhFqqcd5xBmFNKusHcrZSozYezOLtwBWHPG9id8vrTiD1hjiX mSPRkJeZb4r8yjj/lpPAyQw6LiJJE9dEfm2dZP2K3+qDJ5ckvg7bnc01+Tdl+PP0ygHh fRkln0CZ/hXu1cvqnQV1CI8NOFyMn6i/7SZg5y+UZi5vrQnnossSlOQlwc93Ji2dJzGc VeJJHgpeLz8WmOLgHZZuLuS6rk3V3F689SSsCw1l6tvL8kYCctqgkoKYvlQir07OPJmt sJ8g== MIME-Version: 1.0 X-Received: by 10.50.17.166 with SMTP id p6mr1687290igd.12.1365170642780; Fri, 05 Apr 2013 07:04:02 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Fri, 5 Apr 2013 07:04:02 -0700 (PDT) Date: Fri, 5 Apr 2013 16:04:02 +0200 X-Google-Sender-Auth: hBv8PGts2Hv9ciBf3QuYegssXDg Message-ID: Subject: Where does FreeBSD tr -C differ from tr -c? From: Cedric Blancher To: freebsd-i18n@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 05 Apr 2013 14:04:03 -0000 Has anyone discovered examples for FreeBSD tr -c producing different output than tr -C? I tried this (ksh93) test script but it NEVER produces a difference in the en_US.utf8 and fr_FR.utf-8 locales: ------ snip ------ builtin rm typeset string typeset -li16 n_ch ; for (( n_ch=1 ; n_ch < 0x5000 ; n_ch++ )) ; do ch="$(printf "\u[${n_ch/~(El)16#/}]")" string+="$ch" done typeset -li16 m1 m2 for (( m1=0x32 ; m1 < 0x3000 ; m1+=7 )) ; do (( m2=m1+1500 )) range="$(printf "\u[${m1/~(El)16#/}]-\u[${m2/~(El)16#/}]")" tr -Cd "$range" <<<"$string" >'res_C' & tr -cd "$range" <<<"$string" >'res_c' & wait res_c="$( <'res_c' )" res_C="$( <'res_C' )" rm 'res_c' 'res_C' if [[ "$res_c" != "$res_C" ]] ; then printf 'DIFFER range=%q\n' "${range}" fi done exit 0 ------ snip ------ So when does tr -C differ from tr -c? I need examples, please... Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Fri Apr 5 22:10:24 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 D4CA3F16 for ; Fri, 5 Apr 2013 22:10:24 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id AC81AFB9 for ; Fri, 5 Apr 2013 22:10:24 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id h37so3608841iak.18 for ; Fri, 05 Apr 2013 15:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=tQf9lJHKVbzn0F5iBZSynwMEu35rk1k6/cuyzfZj1+k=; b=LRD/CAkulrJVuefu1lm5pve8MOOwkqcHNIPZqo3K1l0OVQJe3xjxs1tp1M9tQTmHFt dwwLnuhCvJ9jw/4mb8J/FowxQrbk6nPSCxrETptZ91wwtqXWsvqJUx0bzpyxVETjxJB2 8ogDPDKNRPDfv/jr7Vgx9Sbp0Bw0kOp3mAdsZLKnXhl1C2cyhYW2See7w/DEM7w73e7f Td/toY33KkK5Jjfoq5+qDfJ4MPzICTICB6x4QIDKAtoAVLLfqykfJaeLfyE37ekNeIQt sES/WyZ/velIrMTP4FFQrOgh1y9yIFBAQrCObcc439b/CM2WUMtamtx38KA27NjiY2ia +k/w== MIME-Version: 1.0 X-Received: by 10.50.17.166 with SMTP id p6mr670400igd.12.1365199824437; Fri, 05 Apr 2013 15:10:24 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Fri, 5 Apr 2013 15:10:24 -0700 (PDT) In-Reply-To: References: Date: Sat, 6 Apr 2013 00:10:24 +0200 X-Google-Sender-Auth: _-b_pkXBgto2nQjzpukp5mELrks Message-ID: Subject: Re: Where does FreeBSD tr -C differ from tr -c? From: Cedric Blancher To: freebsd-i18n@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 05 Apr 2013 22:10:24 -0000 On 5 April 2013 16:04, Cedric Blancher wrote: > Has anyone discovered examples for FreeBSD tr -c producing different > output than tr -C? > I tried this (ksh93) test script but it NEVER produces a difference in > the en_US.utf8 and fr_FR.utf-8 locales: > > ------ snip ------ > builtin rm > > typeset string > typeset -li16 n_ch ; > > for (( n_ch=1 ; n_ch < 0x5000 ; n_ch++ )) ; do > ch="$(printf "\u[${n_ch/~(El)16#/}]")" > string+="$ch" > done > > typeset -li16 m1 m2 > for (( m1=0x32 ; m1 < 0x3000 ; m1+=7 )) ; do > (( m2=m1+1500 )) > range="$(printf "\u[${m1/~(El)16#/}]-\u[${m2/~(El)16#/}]")" > > tr -Cd "$range" <<<"$string" >'res_C' & > tr -cd "$range" <<<"$string" >'res_c' & > wait > res_c="$( <'res_c' )" > res_C="$( <'res_C' )" > rm 'res_c' 'res_C' > > if [[ "$res_c" != "$res_C" ]] ; then > printf 'DIFFER range=%q\n' "${range}" > fi > done > exit 0 > ------ snip ------ > > So when does tr -C differ from tr -c? I need examples, please... Anyone? FreeBSD tr implements option -C but there are no usage *examples* where exactly it differs from -c. Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 09:38:12 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4C75986B for ; Sat, 6 Apr 2013 09:38:12 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1.freebsd.org (Postfix) with ESMTP id C9509783 for ; Sat, 6 Apr 2013 09:38:11 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id v10so4455924lbd.30 for ; Sat, 06 Apr 2013 02:38:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:openpgp:content-type :content-transfer-encoding:x-gm-message-state; bh=/KRvHhMd2suuvglZN+xuKzqt8HIbfoQjK+r5+TBlz2s=; b=giv9q7XEVAaeZghnyML5zZrON0RaYDht7F5qk0luT0TQGxVjOYC/58yFyZukTbNOkl G7XlM69dJRWg7e+DXXhKQGm50tR+/IsaOOegP1b6s6jJcj137yUIwrDQEkjUzhAeJK7V M6YEB/J9Ay4xan/l6L8cPR9/9+Od4tSjG6NR+kdHz7ZWmcbz/1Iq9PMU6p9oL2+FVu4H 86kyUdZqyNst9SNkHF1i5stKz7rHZMti0JgNttdC+nNiMBR3RRFz1z5Q+ohuK0x1oWpY Mw4ks4yX2qa/EyqAVBWYD2AwlZzM8yQ1RpUFixjVOVEMhJAmah7XSDZp0RDNfaflKUDL KKmg== X-Received: by 10.112.139.130 with SMTP id qy2mr8048517lbb.34.1365241089821; Sat, 06 Apr 2013 02:38:09 -0700 (PDT) Received: from [192.168.1.2] ([89.169.163.3]) by mx.google.com with ESMTPS id l20sm2057639lbv.9.2013.04.06.02.38.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Apr 2013 02:38:09 -0700 (PDT) Message-ID: <515FECFA.50408@freebsd.org> Date: Sat, 06 Apr 2013 13:38:02 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Cedric Blancher Subject: Re: Where does FreeBSD tr -C differ from tr -c? References: In-Reply-To: OpenPGP: id=964474DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmxJsPlZU5Ee5Zfr6lgcyYW3ojIHX1Oc2h+sZCzfMYgDLZ0AYbisZpZj6fLfoKWuALLWZ12 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 09:38:12 -0000 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. From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 12:58:59 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C4D64EB; Sat, 6 Apr 2013 12:58:59 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ia0-x234.google.com (mail-ia0-x234.google.com [IPv6:2607:f8b0:4001:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 5A99CCC8; Sat, 6 Apr 2013 12:58:59 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so3854649iae.39 for ; Sat, 06 Apr 2013 05:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=d9UgzLoSSFioQVZYpUsge19RAjJ3Rym7Fas2zpEDFvM=; b=X0PlXOrmfpVSTNckDm+bWSj3IzSxIsea748f6hKwPQ6e5947G5pI9hrwONbdECyom1 7Mg9gL1BB+7Y5qqdHvXODLwgC7py5K+rrRqVB4u+RQ2qrpY2PFVzWNrAjFVOLqcEUtJx CNM+AHo0SwU6wHW0DTZ7rpSiiu/489415uTE1fGPakmw3TfkUcYPEjtIkRXSDl+GUIY7 J+PhsuFTqQk3u3hKyzw65Js70W1Bl/kdxjtbRGfHeypxLlim7I9r+/TD4knkyHKUt1R6 FglKlj7WM2UbzoVe+aBftpm20xp3CRzTUyBzfztymHzuyjBgu8X5enrM4qrFxZ5duDVY VEsQ== MIME-Version: 1.0 X-Received: by 10.50.119.102 with SMTP id kt6mr2145512igb.12.1365253138348; Sat, 06 Apr 2013 05:58:58 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Sat, 6 Apr 2013 05:58:58 -0700 (PDT) In-Reply-To: <515FECFA.50408@freebsd.org> References: <515FECFA.50408@freebsd.org> Date: Sat, 6 Apr 2013 14:58:58 +0200 X-Google-Sender-Auth: -qO8Su4ChVXGZsml_2u03Hm8Rsg Message-ID: Subject: Re: Where does FreeBSD tr -C differ from tr -c? From: Cedric Blancher 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 12:58:59 -0000 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). Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 13:02:30 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 2017356B; Sat, 6 Apr 2013 13:02:30 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ia0-x233.google.com (mail-ia0-x233.google.com [IPv6:2607:f8b0:4001:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id E0C79CF3; Sat, 6 Apr 2013 13:02:29 +0000 (UTC) Received: by mail-ia0-f179.google.com with SMTP id x24so3891028iak.24 for ; Sat, 06 Apr 2013 06:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hXjzB5mpPOwqanhOAHPI791A33oFvPWwuNBDcToHQ2A=; b=aX//NhX7+uE4IaQffYLI/cvo3UfF5yRJWypYH7pgLB9cSwwKwacTxNPjDwVFPZgTA/ Jh+i0Q13aB6FejfHO2DUIdGDgh5CCRdMI7qtUbdzOpwWAuM9K+8gwIdYbxC0E4GXwDjM 2bvapy3WMuap/hdJwLS7/5kgrZTqM9vEbHhjCt4UlIqoOGyXtWfbtnU3+OOjBkSeWP55 lUqIf+JnEfxPHR33ShxWRAv8GtySnsKpGPIgqXZNCp56GoTqXf4IyHWF0pGrfWeyyBY/ gfe2sktCMwl3NThyAFyVnTssyEnfX8YUqruxptHY9ocOyO0ivhBOjPRIi9SMnax3bCbv FSZw== MIME-Version: 1.0 X-Received: by 10.50.37.236 with SMTP id b12mr2019167igk.42.1365253349593; Sat, 06 Apr 2013 06:02:29 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Sat, 6 Apr 2013 06:02:29 -0700 (PDT) In-Reply-To: References: <515FECFA.50408@freebsd.org> Date: Sat, 6 Apr 2013 15:02:29 +0200 X-Google-Sender-Auth: 7skuyxAS3k51kIdi79bOh_YMP5U Message-ID: Subject: Re: Where does FreeBSD tr -C differ from tr -c? From: Cedric Blancher 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 13:02:30 -0000 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].... Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 15:33:22 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2CAECCC6 for ; Sat, 6 Apr 2013 15:33:22 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id A700D1F1 for ; Sat, 6 Apr 2013 15:33:21 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id ej20so30765lab.11 for ; Sat, 06 Apr 2013 08:33:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:openpgp:content-type :content-transfer-encoding:x-gm-message-state; bh=iSFKok2iL/p98T9c9Bo09LM3iEFOQdkwi+h1lHJDdwU=; b=Yid1lOSszoItzVawkAQQgS6CLnwKVcnVLHFpIjBp6dhQsS6/YoI6AVgFtKX/xA9AsZ rz0oaNa05vpUcpUZlfGTwIIu0kpK9+RB1dPBD0cR2JT1tp0c6OsipxwyVREP0WlETCuV OUlwAV9w7LirU+gVuoYDhhwQMo6I9WPeUFtfC23eJyfODO1V/iU38H1l0I7Jz8tXrXtW wbPtxDXwCM6MRzpCgeCtgcT8ZmkgU1Q3+ve/aKO2T4pA0abMq2pZIY19uLd9TRfUlvor Nhbd0tX7GjKVz5wbEhXWO+sN54LXLx1qjjP1JFLtvv9o8DwSK7ZNL+P42Q2Ms7oPWZ+m 0mTA== X-Received: by 10.152.112.231 with SMTP id it7mr8494824lab.10.1365262400630; Sat, 06 Apr 2013 08:33:20 -0700 (PDT) Received: from [192.168.1.2] ([89.169.163.3]) by mx.google.com with ESMTPS id t20sm7398202lbi.5.2013.04.06.08.33.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Apr 2013 08:33:19 -0700 (PDT) Message-ID: <51604039.5070804@freebsd.org> Date: Sat, 06 Apr 2013 19:33:13 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Cedric Blancher Subject: Re: Where does FreeBSD tr -C differ from tr -c? References: <515FECFA.50408@freebsd.org> In-Reply-To: OpenPGP: id=964474DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmExNyDR53mN0ifhEfpm5BKTciV5lLay55IuCwt6d5ST4eyOVCatBgkKz2Ym/civsUK3n6u 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 15:33:22 -0000 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. 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? From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 17:32:32 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 63B4FBB2; Sat, 6 Apr 2013 17:32:32 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4D7860; Sat, 6 Apr 2013 17:32:32 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id h37so4056122iak.32 for ; Sat, 06 Apr 2013 10:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=w0RWLzfj6MS1MjMM3BlFdUGJE9V958fj631slUSXGmY=; b=aF4OSghxllzSX+Jb0R61xyXczdgD27JMc3rRlHZnH0itv7rrEitrX4NQ46LwHh4FdA ACbOTwa3cVsRBHdWPj9GcAv5uXsmAOgE+eHsijcFpJO6kbjkXBAJtlCvdSrz2Jl1TGEg mjgOd4UDJltP8QQanEybwiICnQakXyWyyve5/sO1xZg6KAuKzlK5mFQAkaXAmMh+pAi2 CQMm0p2GD/fcYRJmocJXqsDBGjjt5EJf4buq2O9mLkL8I9SVE6huHVO1AcCFsOLbUOvF ffJCYeDaxj2GgVH+4EpIx66yPyt3K+8KbZzhNacLu3XyEq7plBcWDN/ZRaV6hi0+QGj2 sgZA== MIME-Version: 1.0 X-Received: by 10.50.222.167 with SMTP id qn7mr2606197igc.42.1365269551506; Sat, 06 Apr 2013 10:32:31 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Sat, 6 Apr 2013 10:32:31 -0700 (PDT) In-Reply-To: <51604039.5070804@freebsd.org> References: <515FECFA.50408@freebsd.org> <51604039.5070804@freebsd.org> Date: Sat, 6 Apr 2013 19:32:31 +0200 X-Google-Sender-Auth: y59h11AU6-eLdFVwT8POFL7Ytmo Message-ID: Subject: Re: Where does FreeBSD tr -C differ from tr -c? From: Cedric Blancher 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 17:32:32 -0000 On 6 April 2013 17:33, 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. Do you have any suggestions which ones might be suitable? Where can I find the FreeBSD localedata sources? Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 17:52:02 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C378AF81 for ; Sat, 6 Apr 2013 17:52:02 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA368FA for ; Sat, 6 Apr 2013 17:52:02 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id k11so5421002iea.38 for ; Sat, 06 Apr 2013 10:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=39ws2h5KFKrhroAtOSkuJ5cjPiJntK6EZDiBfF3Ryks=; b=zdoWPb8dhBUjnqbfTCyG1qx2wXxZdcxokPLqIKYG5HP9SBwa19T0JKnCWw5OWwhW+B 8tfWnqnb6bl+x53UJtAuFwXjSXTNYbbekf8/ggbN3WtezWQewtfWjtwlfit6FQESQqM7 y78vz4J9jU3yw2QnRGcyyphm4DIvN7onNC90ni2hqfNdRnHjeUyBlDIhWxjxDgzTwV+p qKzu1RYvpUCvW6qYT9Isl5fyrAh+WRXlwVhK7JkfHjSGGpmUHYDiYcD4CghlDvrMt2ua 7EJs8ScGYLK6WzstMqIsb4xd77+f08kvJOuSK381khKhhwMza8x6AENrw1dRUCTlEiNl tw7Q== MIME-Version: 1.0 X-Received: by 10.50.222.167 with SMTP id qn7mr2637537igc.42.1365270722201; Sat, 06 Apr 2013 10:52:02 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Sat, 6 Apr 2013 10:52:02 -0700 (PDT) Date: Sat, 6 Apr 2013 19:52:02 +0200 X-Google-Sender-Auth: psVWAPV9D6OzJqhMB3cM8QohA0o Message-ID: Subject: Enumerating libc LC_COLLATE collation elements? From: Cedric Blancher To: freebsd-i18n@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 17:52:02 -0000 How can I enumerate libc LC_COLLATE collation elements? I'm trying to narrow down a bug in FreeBSD sed. Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 17:53:27 2013 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5DE0CFCD for ; Sat, 6 Apr 2013 17:53:27 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 37C2090C for ; Sat, 6 Apr 2013 17:53:27 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id bn7so5360530ieb.23 for ; Sat, 06 Apr 2013 10:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=zr+CVLEmJPTN1hdVyGkl+7Az8fyTERI8jZWbtZdafoE=; b=sWrNnRJZqCJLGVD4WY4mjss/6tvGImSwKu/0dmuk6vYPe0C9+kkyBZQU6r7dJfj4YB sy7FycQaX6bm/t4wjfvUCrHMqNuA7z00r/fj02FPrnIbIhPNKqJFP9jl0kl6BXPfCy0v YHi8PCB5UTNQosPaEBg9W1ZdgRBS8TozGSYeHw5PeLaf9TS641LAFeJR75t2oRLpyVNy BzrCU06/KhEOad3pbh0RHXz/soZ8z770y5L9FZPZSVRXffAbGt4KIG/4pAWM70UiwL+O 9XzIOHa8fQIKd7h/vJ2shFhPr0wuHFcxorfrpO9rdhOvVPaUfRGvPkOhWCNWrHoDrWu8 JwSw== MIME-Version: 1.0 X-Received: by 10.50.12.193 with SMTP id a1mr2651468igc.24.1365270806922; Sat, 06 Apr 2013 10:53:26 -0700 (PDT) Sender: cedric.blancher@gmail.com Received: by 10.50.40.36 with HTTP; Sat, 6 Apr 2013 10:53:26 -0700 (PDT) Date: Sat, 6 Apr 2013 19:53:26 +0200 X-Google-Sender-Auth: 4CgS1s7QGIWU4pi6VmTRXb4tAfU Message-ID: Subject: Correct list to contact FreeBSD POSIX utilities developers? From: Cedric Blancher To: freebsd-i18n@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 17:53:27 -0000 What's the correct freebsd-*@freebsd.org list to reach out to the FreeBSD POSIX utilities developers (i.e. those who handle bugs to tr, sed, awk, ...)? Ced -- Cedric Blancher Institute Pasteur From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 18:18:50 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 E33266FA for ; Sat, 6 Apr 2013 18:18:50 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1.freebsd.org (Postfix) with ESMTP id BF15DA00 for ; Sat, 6 Apr 2013 18:18:50 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id lj1so2541318pab.21 for ; Sat, 06 Apr 2013 11:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=dm+a9wUj6vDtRaAcRv2HFJbj4bZ3NWg8TypnI0IyU4Y=; b=YPCmbtHsoYgB+mPxOoWSuewLvHD9CiNW6t3efNbNqShNdaDd8yM32+4+IjLFjrH40A TOjvGvm9FyjSp1Yg9MP06Uyssf/xvaO3vLAOOo4qyT7qprFi6yc5X2cpQ1QGUfexWc/R RKzojw3Pwi7tL8gcgn3pBaO9NXaXICpnMsHp8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=dm+a9wUj6vDtRaAcRv2HFJbj4bZ3NWg8TypnI0IyU4Y=; b=cexx2Urf48Gul3mMKIiYYqEhLY5MMCX0A8HtmvrJuYkghEogaz4qJ2Mj9bnW/s9o5x qDgYR+/YgLe7YmqOfatYC85iXOnK9KKL9P1ATNsOmDjfu0f3LApjyOj5AOa8OhjrSv4C Cc4tVTZ6E9ZqvY+gWBOrYJWWW9LtL0eK8ViYffTj6aTz6D0reYXEVnJDkwSrrhw6LYKN 5wU3bE+oTARQONNQjK+4EHDFPtrBmspLiw/wCZl/+r0X0jFosqXMS+3bxGd/bc82CIRm iF/6ARGi6vsxbpCuyZoS5pFsDkqBIzkcLLKyECO57maZbtdKCJ0TSmzom/vYXKo9kFlu j8lg== X-Received: by 10.66.151.2 with SMTP id um2mr21847460pab.42.1365272324111; Sat, 06 Apr 2013 11:18:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.86.34 with HTTP; Sat, 6 Apr 2013 11:18:14 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sat, 6 Apr 2013 14:18:14 -0400 Message-ID: Subject: Re: Correct list to contact FreeBSD POSIX utilities developers? To: Cedric Blancher Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnoefDm42Qf7D/DzDZ+Hfn6qSE/aW5Io8/GCCrAbuG+Jk5qPJvZZAL/+BV051H6DjGemOTU 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 18:18:50 -0000 On 6 April 2013 13:53, Cedric Blancher wrote: > What's the correct freebsd-*@freebsd.org list to reach out to the > FreeBSD POSIX utilities developers (i.e. those who handle bugs to tr, > sed, awk, ...)? To report a specific bug, http://www.freebsd.org/cgi/dosendpr.cgi. General code issues freebsd-hackers@ or freebsd-standards@ depending on the type of issue. -- Eitan Adler From owner-freebsd-i18n@FreeBSD.ORG Sat Apr 6 18:19:49 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 EECCB73C for ; Sat, 6 Apr 2013 18:19:49 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by mx1.freebsd.org (Postfix) with ESMTP id CB0A2A10 for ; Sat, 6 Apr 2013 18:19:49 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id kp14so2534686pab.22 for ; Sat, 06 Apr 2013 11:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=BYW51cUmUHsSnRDI+bUO5CdZoTAYCpKJej/9XkibKOw=; b=MWLT8Ag722Etjs5nFyuaM16DKr7Rnnp6Iwiettzdx0cLjtTcxyCCtF6fPVfZ6BecTU 3Ezzf8zasWi2H98Ss/SKh1Dm6TWhH9QX1qCNfFwRDfIG1hrCeOIrcjybYdLJ18gqzek0 h10A/XTTR4POuv5hZDk4xDgyq4NKFyHmH+yKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=BYW51cUmUHsSnRDI+bUO5CdZoTAYCpKJej/9XkibKOw=; b=IM4hMpm9LNp+ESfVRJNmohrh+MiidxG1qk9bVGT8zzKU9CLlsbVtMSnfeenzwPAble U4C9DfD4wtdACKJEYlRHFP5NVf29Cv9n8Q7suYIDYDMLIbi0LbTi87Wef5RvLqbUmugT fqABBNdgkgjUeoJrMhsCSESf6S7jt6hXjW5HtjKogmbrnykAZTstl7EEbhbBVpiP1vT/ 9f4hCGjaXu9Xmer7WJKO7Pif1Ww3LAIQpjCtUnmNEI/+pCTR2p+2v5ZKw0R43FyXyset GDlmFrCbvyh9qvf4P6/eVBZQk5CmPutmDdjSSlEQib1EHQpApM+pt3lBiPePVZh1jUcV /aJg== X-Received: by 10.66.122.196 with SMTP id lu4mr21300872pab.129.1365272382564; Sat, 06 Apr 2013 11:19:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.86.34 with HTTP; Sat, 6 Apr 2013 11:19:12 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sat, 6 Apr 2013 14:19:12 -0400 Message-ID: Subject: Re: Enumerating libc LC_COLLATE collation elements? To: Cedric Blancher Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlccgDHlYbzjkyEBdX2ra4DdGFmtt9UvS8kLlkfkNdtxls3MyZdD7sRPJHl6CFlAcPbapmW 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 18:19:50 -0000 On 6 April 2013 13:52, Cedric Blancher wrote: > How can I enumerate libc LC_COLLATE collation elements? I'm trying to > narrow down a bug in FreeBSD sed. locale -a ? -- Eitan Adler