Chris Jackson wrote:

There really doesn't seem to be a way. I can only suggest:

* bolt those comands up into an "unexport" function (not pretty;
   make your "BAR" local and you don't need to subsequently
   unset it)

For reference, this seems to work:

unexport() {
  local unexport_var="`eval echo \\\"\\\$$1\\\"`"
  unset $1
  eval $1='"$unexport_var"'
}

Like I said, not the prettiest thing.

--
Chris Jackson
Shadowcat Systems Ltd.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to