Re: Should "df --portability" allow thousands separators?
From:
Paul Eggert
Subject:
Re: Should "df --portability" allow thousands separators?
Date:
Mon, 26 Feb 2007 00:13:10 -0800
User-agent:
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
"Peter D." <address@hidden> writes:
> I am sufficiently ignorant of POSIX that df could be in completely compliant
> and I would not know.
It does conform, since you're in an en_US.UTF-8 locale, not the POSIX
locale. Also, POSIX reserves environment variables like BLOCK_SIZE to
the implementation; portable POSIX applications are not allowed to set
them.
That being said, it might make sense for -P to ignore BLOCK_SIZE and
the like. Doing this wouldn't be 100% trivial, though; someone will
have to think about it.