git://git.iain.cx/iain
/
profile.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle locale a bit (but not much) more sensibly.
[profile.git]
/
.profile.d
/
locale.bashrc
1
# $Id$
2
3
unset LANG LC_ALL
4
5
for locale in en_GB.UTF-8 en_GB; do
6
if locale -a 2>/dev/null | grep "^$locale\$" >/dev/null; then
7
export LC_CTYPE=$locale
8
break
9
fi
10
done
11
12
unset locale