delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/30/13:54:18

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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=hw8
sCF8adUFYqewAcGvs6bJfmhtsqTyJUmboxr7uF9HCvB+FUrvoxRIP8M5EwT4+1Bi
3Sj8U1tWyIAnimuHHqybilZ0hu7W7VqWxYvdqGEgNtSOFnUMHHedr3DMQ/t+o9cG
wxjO9UdzqNcbfDcqMIgcteGg4gz2YawBts1rcMAo=
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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=Xs6pxGtLK
OckB7dFJpP3lg1lvRk=; b=sTv+OCKgpQUTCqtIEJ4WghhxBmPAX3iExt+CCpwvy
D4av/i8SNJ6vhIqXAu4NnK9Fn5YxcN4OGoGtsHO6bRv0IhXvvQ4Blad5/ebhRAzc
Smlh/QpWyLagKOHgFJuUlSwhmLjQKXMY/C3+6JK3IJfE7bfvzoXPHMfjAm+ZeFau
J0=
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=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: locale -uU in ~/.profile
Date: Tue, 30 Sep 2014 10:53:41 -0700
Lines: 20
Message-ID: <m0eqn8$9k$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
X-IsSubscribed: yes

I recently debugged this. I share my home directory from a NetApp filer 
such that I can use it from Cygwin or the various Linux machines at my 
client (largely CentOS). Recently I started seeing:

Adefaria-lt:ssh cm-db-ltest01
locale: invalid option -- 'u'
Try `locale --help' or `locale --usage' for more information.
Cm-db-test01:

Hunting this down I found that I have a ~/.profile now (didn't have one 
before) and contained therein is the following:

# Set user-defined locale
export LANG=$(locale -uU)

Turns out that on CentOS locale doesn't support -uU. Now this .profile 
came from a refreshing of Cygwin. How best to handle this...
-- 
Andrew DeFaria
http://defaria.com


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