[TAG] BLOCKSIZE unset by default
ben at linuxgazette.net
Wed Jun 25 19:11:39 MSD 2008
On Sat, Jun 21, 2008 at 10:00:02AM -0700, Mahesh Aravind wrote:
> > 2008/6/21 Thomas wrote:
> > Not on my Debian Etch install it didn't. Ah well.
> > Nice thing to know
> > I suppose.
> That would depend very much on your locale...
> I think mine's set at LANG=en_IN.UTF-8
> It's the locale that determines how the digits are to be separated.
> If your is "C", then no donuts for you. :D
> Try something like.. LANG=en_GB.UTF-8 BLOCKSIZE="'4096" ls -l...
> Hey, I also notice that the ".UTF-8" part DOES indeed makes the
> difference. Any idea why?
> LANG=en_GB is NOT the same as LANG=en_GB.UTF-8
> Mahesh Aravind
It's a different charmap for that locale, thus the different result.
Different $LC_COLLATE, etc. One is configured to separate numbers that
way, the other one isn't. Frankly, I'm a bit puzzled at your puzzlement.
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
More information about the TAG