Jim Meyering <j...@meyering.net> writes: > Just to be clear: we're taking this slightly kludgey alternative > solely to accommodate theoretical non-POSIX systems.
Well, no, it's for POSIX systems too. POSIX says that if you clear all environment variables, the resulting behavior need not conform to POSIX any more. See the rationale of the "env" command in the latest POSIX spec. This is a fairly recent addition to the POSIX spec, and it came up because of some systems that fail to conform to POSIX unless certain environment variables are set correctly (it's not just POSIXLY_CORRECT and Linux; it's other stuff).