This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

locale -uU in ~/.profile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]