unexport and importas -u bug?

From: Alex Raschi <raschi.alex_at_gmail.com>
Date: Mon, 10 Feb 2020 17:09:31 +0000

Hi,

I'm using execline on alpine edge (synced today), i noticed that
`unexport` and `importas -u` don't remove the variable from the
environment. For example:

$ env -i /bin/export var hi /bin/unexport var /bin/printenv
var=hi
$ env -i /bin/export var hi /bin/importas -u var var /bin/printenv
var=hi
$

Both cases should return nothing since the variable should be removed.
`emptyenv` works as expected though:

$ env -i /bin/export var hi /bin/emptyenv /bin/printenv
$

Does anyone have this issue too?

Cheers, Alex
Received on Mon Feb 10 2020 - 17:09:31 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC