I know very well that to override locale settings we can use LC_ALL
prepended to the command one wants to run. I also know C
uses default locale of a system. But what does C
stand for ?
I know very well that to override locale settings we can use LC_ALL
prepended to the command one wants to run. I also know C
uses default locale of a system. But what does C
stand for ?
C
stands for the C programming language. It is a synonym for thePOSIX
locale.See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
The only solid hint I could was from some Slackware documentation written by the great Patrick Volkerding. In the file
/etc/profile.d/lang.sh
he has made the following comment:Without giving away what the 'C' actually stands for, but I would guess that 'C' is an alias for this very lowest and safest level of locale.... Not very satisfactory I know :(.
To see this comment for yourself in the Slackware package try the following:
And then open the file
lang.sh.new
with your favoured text editor...