Subject: Re: Suggestion for changes to df(1) and du(1)
To: Tomas Svensson <firstname.lastname@example.org>
From: Klaus Klein <email@example.com>
Date: 11/19/2001 23:28:13
Tomas Svensson <firstname.lastname@example.org> writes:
> KK> Hardcoding the decial point symbol is bad practice i18n-wise; I'd
> KK> suggest using localeconv()->decimal_point (and setlocale(LC_ALL, "")
> KK> in main()).
> This will make df dependent on /usr/share/locale, which can't be a
> good thing for a system utility in /bin ?
It'll make it `dependent' in the same sense (other) programs situated
in /bin using NLS catalogs are (try "LANG=sv df /nonexistent"
yourself); there's nothing wrong about this.