Well, that would be quite useless I guess. Viewer might make some sense,
but editor would most probably not.

To explain difficulty (well, next to impossibility) of such task you
have to understand the way variables are set at shell start. Once shell
process starts, it executes set of scripts. This script set varies
depending whether the shell is login shell or not. And it may vary (and
it does) between different shells too (there's bash, csh and many other
shells). These scripts set the environment variables. The caveat is that
many variables might be set dynamically based on informations read from
other config files. One can even include his own script setting his own
set of variables. Many do this.

You can view e.g. /etc/bash.bashrc or /etc/profile to see that these
scripts are not that simple and their output (set of variables and their
values) may vary between users, shells etc.

Cheers, Tosuja


-- 
Petr "Tosuja" Klíma
Mail: [EMAIL PROTECTED]
Web: www.tosuja.info
ICQ: 52057532

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to