On Sun, 9 Mar 2008 18:05:42 +1100, "Brendan O'Dea" <[EMAIL PROTECTED]> said: > On Thu, Mar 06, 2008 at 10:54:55PM +0200, era eriksson wrote: > > How about adding something like this to /etc/skel/.bash_profile > > instead of fixing a warning in Perl which is, per se, correct and > > warranted? > > > >case `perl -e 1 2>&1` in > > *'perl: warning: Setting locale failed'*) > > echo .bash_profile: unsupported locale\; reverting to LC_ALL=C >&2 > > LC_ALL=C ;; > >esac > > Interesting idea, although I wouldn't want to have perl invoked for > every shell.
Perhaps there could be a separate binary command in the locale package then, or an extension to the locale command (locale -q maybe?) and/or you could simply grep for stuff in /usr/share/i18n/SUPPORTED /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

