Penguin
Blame: POSIX_ME_HARDER
EditPageHistoryDiffInfoLikePages
Annotated edit history of POSIX_ME_HARDER version 10, including all changes. View license author blame.
Rev Author # Line
6 JohnMcPherson 1 [POSIX_ME_HARDER] is an alias for the [POSIXLY_CORRECT] an environment variable that can be used for some programs, particularly those written by people exasperated by some aspect of the [POSIX] standards.
2
8 AristotlePagaltzis 3
10 DanUber 4 RMS quote (from an interview with Linuxcare in 1999, no longer online? [archive at karmak.org | http://karmak.org/archive/2003/01/12-14-99.epl.html ]):
8 AristotlePagaltzis 5 > To have an excuse to say that we still support the spec, if you define the environment variable, [POSIX_ME_HARDER] was the original way.
6 > Then a slightly prudish board member convinced me to change it to [POSIXLY_CORRECT] which I now think was a mistake.
7 > I should have left it as [POSIX_ME_HARDER].
9 JohnMcPherson 8
9 And an [RMS] quote from [an interview with Federico Biancuzzi | http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html?page=2]:
10 > Some GNU utilities such as df and du do not follow the POSIX spec unless you set the environment variable POSIXLY_CORRECT. Normally GNU df and du print disk space figures in units of k. POSIX says to print disk space figures in units of 512 bytes. If you set POSIXLY_CORRECT, GNU df and du do that. (My original plan was to name it POSIX_ME_HARDER.) I would guess that very very few users set POSIXLY_CORRECT.
6 JohnMcPherson 11
12 See [Democracy Triumphs in Disk Units|http://groups.google.com/groups?selm=9108281809.AA03552%40mole.gnu.ai.mit.edu].
13 (To put this message in context, there had recently been a coup that resulted in the demise of the Soviet Union.)
14 Despite that page suggesting that df(1) uses [POSIX_ME_HARDER], at least recent versions don't. So it's not a very good alias.
5 AristotlePagaltzis 15
8 AristotlePagaltzis 16 <verbatim>
17 $ df
18 Filesystem 1k-blocks Used Available Use% Mounted on
19 /dev/hda3 18690576 3958640 13782496 23% /
20 $ POSIX_ME_HARDER=yes df
21 Filesystem 1k-blocks Used Available Use% Mounted on
22 /dev/hda3 18690576 3958640 13782496 23% /
23 $ POSIXLY_CORRECT=yes df
24 Filesystem 512-blocks Used Available Use% Mounted on
25 /dev/hda3 37381152 7917280 27564992 23% /
26 </verbatim>
5 AristotlePagaltzis 27
8 AristotlePagaltzis 28 But it's still part of the history. <tt>:)</tt>

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach()