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

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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=J9wXyelAVq26BKKJ
3rn38bebKxH/e4fRxeqqQDhR/W9bxFIRqPwPOsjUyrsFfjen6L17mXxAjyfzPw3o
yfMfYb6wgvqpLDYWFbofhM3IsJV3IZrrKDSQ4GGmb49gl12xHLLwigem688jr8Y3
84rLvEIdfzkLHfEDLBN7UF+jddM=
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:from:subject:reply-to:to:references:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=r6DtyU2BwzeMwRZp3laytM
csOHs=; b=ZSy1Z4CYy6vEYYtLOrtZIrYLjxNMibg4xDCbWgbs/DVyzsBb/F1aHo
aMjeXCDmyeXNKDTxz0/detHeoFfvbydaDWXiQROrbr2NHUq5KhSiFtxim/IUMWgA
3onEDgSiio7Hrc3kBQbDJRTNqXlqd1uo0HecJ5atwaRSgyrAeMv14=
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=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=
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=7dkBZWzZ251X_VKqUxIA:9 a=QEXdDO2ut3YA:10
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: duplication in locale output ja_JP
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
To: cygwin AT cygwin DOT com
References: <232e5654-de77-ad30-30b1-acec483b7323 AT gmail DOT com>
Message-ID: <b491aaa5-1861-fd84-6810-22905d7cd2bc@SystematicSw.ab.ca>
Date: Tue, 20 Jun 2017 16:16:48 -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: MS4wfLgkGSxj67dJ5W7ktfjr8Y+zUUvu7Q4CajArXIcNOpLEv8KHCf7MCZM3Esxmw9GCk5He/7PUSRZuJUYqT19CPQYmaG6QkNMHWO3srGpzJY7lbq8LR64Z MGVny1ebbgfqeod+lRbgo6VteX9YHiTY+FYZe3qkrFOhKif3f4yYWZ0TFlk1bPPxjpeMrg78qa9u6g==
X-IsSubscribed: yes

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

-- 
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