> Unfortunately, unset isn't portable. I just don't see this as being a
> serious enough problem to worry about.
Oh c'mon. A portable fix for a confusing problem area is very simple:
env |sed -e 's/=.*'/=/' >/tmp/clean$$
for V in PATH HOME TR AWK ... ; do
eval "save$V=$V"
done
. /tmp/clean$$
for V in PATH HOME TR AWK ... do
eval "$V=save$V ; export $V"
done
Save the env vars sanity cares about, then by definition you don't care
what values the other env vars are. :)
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under ... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 un... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multiroot-log-... Mike Castle
- Re: CVS 1.11 sanity.sh fails at multiroot-... Derek R. Price
- CVS 1.11 sanity.sh fails at multiroot-log-1 un... Lenny Foner
- Re: CVS 1.11 sanity.sh fails at multiroot-... Larry Jones
- CVS 1.11 sanity.sh fails at multiroot... Lenny Foner
- Re: CVS 1.11 sanity.sh fails at multi... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multi... Frederic Brehm
- Re: CVS 1.11 sanity.sh fails at multi... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multi... Rich Salz
- Re: CVS 1.11 sanity.sh fails at multiroot-... James Youngman
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX ... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under HPUX ... Derek R. Price
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 under ... Larry Jones
- Re: CVS 1.11 sanity.sh fails at multiroot-log-1 un... Derek R. Price
