The best I can think of is:
(env | sed 's/^\([^=]*\)=.*/\1/' ; compgen -v) | sort | uniq -u
However, this does not echo the values of the var's though, it only lists their names.
"compgen -v" lists the names of all var's, the rest of the commandline above serves to get rid of the exported ones.
Last edited by Hko; 07-26-2003 at 10:22 AM.