Re: POSIX replacement for bash's “export -n” ?

2010-07-12 Thread Chris Jackson
shell, but beware, nor will any other shell builtin take effect. (Potentially also not pretty, and/or a lot of work rewriting) HTH, or you get a better suggestion ;) -- Chris Jackson Shadowcat Systems Ltd. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject

Re: POSIX replacement for bash's “export -n” ?

2010-07-12 Thread Chris Jackson
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