delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/20/18:16:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=vI5YF7fimJO/zlQL
HUueJEKSYnXiiaTCdsv7/HGf8o8hlmbF8PFBcJrB5Zm/+uK7kk58mOLviAstazHS
njz4ZFhQTLnEc2UwgVzs8dNBYWAMCkzIEJNKwBYUwboGHFmES2GQm4Po1nn+qJMQ
58D0mabcosw9/zqugTaVnt+2sRk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=6gx/YY08hBpz9OzDE5vdbE
oyeo8=; b=uAXilPHJdX979isrhuyMfpTjz2JY2UkFxQzT96c7YTr9tK3UmiHT/z
S9w3fSQVJnp5Cc4ZsyjdhSuFsZbG/x3SUPQMpFfj8tqsa/WVphoHVmUWtLNpu+oT
rHmw6EeVxnNLeSFNQY/sUAJdCeiiATf3bFS0IBREkYSqKiuCpLVmI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*f:sk:232e565, H*MI:sk:232e565, WINDOWS, H*i:sk:232e565
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT Shaw DOT ca
Subject: Re: duplication in locale output ja_JP
To: cygwin AT cygwin DOT com
References: <232e5654-de77-ad30-30b1-acec483b7323 AT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Message-ID: <b361ed3f-af06-a9c1-d785-783a57999d51@Shaw.ca>
Date: Tue, 20 Jun 2017 16:16:29 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
In-Reply-To: <232e5654-de77-ad30-30b1-acec483b7323@gmail.com>
X-CMAE-Envelope: MS4wfJgRFmS7e8U3R3NJuwhEEE/HyCSF4RWeugsDbEJgnZqHhao2LxvyERvZPdEOWtgXQrKvQfC5M0n+tUkkPXvaQenzj5OHSDClfFIY3F3GkohhFWQdz6B5 0uCVN2mDWENM8IajlGCIpCphNdkTCjvUUV/HCFoNvlHNnhbtZAXBMPk6

On 2017-06-20 14:50, Marco Atzeri wrote:
> I don't know if it is a bug or just a curiosity.
> $ uname -svr
> CYGWIN_NT-6.1 2.8.1(0.310/5/3)
> it seems there are two equal entry for ja_JP
> and it is the only one with repetition
> $ locale -a |grep -i "ja"
> ja_JP
> ja_JP
> ja_JP.utf8
> ja_JP.ujis
> ja_JP AT cjknarrow
> ja_JP DOT utf8 AT cjknarrow
> japanese
> japanese.euc
> japanese.sjis
> $ locale -a | uniq -d
> ja_JP

Looks like the ja_JP locale.alias entry is redundant when a Windows
entry also exists:

$ cmd /c ver
Microsoft Windows [Version 10.0.14393]
$ uname -svrmo
CYGWIN_NT-10.0 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin
$ locale --version
locale (cygwin) 2.8.0
$ locale -av | fgrep ja_JP
locale: ja_JP           archive: /usr/share/locale/locale.alias
locale: ja_JP           archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP.utf8      archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP.ujis      archive: /usr/share/locale/locale.alias
locale: ja_JP AT cjknarrow archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
locale: ja_JP DOT utf8 AT cjknarrow archive:
/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
$ fgrep ja_JP /usr/share/locale/locale.alias
japanese        ja_JP.eucJP
japanese.euc    ja_JP.eucJP
ja_JP           ja_JP.eucJP
ja_JP.ujis      ja_JP.eucJP
japanese.sjis   ja_JP.SJIS

Same results on Cygwin32.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019