On Sun, Jan 11, 2015 at 23:17, Jérémie Courrèges-Anglas wrote:
> Philip Guenther <[email protected]> writes:
> 
>> On Sun, 11 Jan 2015, Ted Unangst wrote:
>>> Even more awesome.
>>
>> How about enforcing the full rule?
> 
> IIUC the first diff removed '/' from the characters allowed in an
> environment variable, so that one can run env(1) and a program whose
> name contains '='...  I've never seen such a program name.
> 
> I think this is not env(1)'s job to tell which letters can be put in
> a environment variable name; other env(1) implementations don't seem to
> care at all.

Alas, the posix spec for env doesn't require that arguments be
correctly formatted environment variables.

What if we just delete the BUGS section from the man page? That's
really what annoys me here. I think fixing bugs is much preferable to
documenting bugs, but if it's the intended or expected behavior, then
it's not a bug. Problem solved.


Reply via email to