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 debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3ad811.2090...@shadowcat.co.uk

Reply via email to