I have a ridiculous question due to a ridiculous problem.
Normally if I want to get the contents of an environment variable in UNIX shell, I can do
( set -o posix ; set ) | grep $var
search for all unix-compatible format variables been used