bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

env -u behavior


From: Eric Blake
Subject: env -u behavior
Date: Fri, 23 Oct 2009 18:44:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Is 'env -i -u a=b' really supposed to output a=b, or should it be an error 
(because a=b is not a valid environment name)?  Right now, it is the former, 
because we are using putenv() to remove variables from environ, rather than 
unsetenv().  Similarly, should env -u '' issue an error?

-- 
Eric Blake






reply via email to

[Prev in Thread] Current Thread [Next in Thread]