Guessing environment variables set origin

Yguaratã C. Cavalcanti yguarata at gmail.com
Fri Sep 11 14:02:49 UTC 2009


Hi guys,

is there any way to guess if a environment variable was set by system of if
it was defined by the configuration files?

I imagined that i could to this by parsing some files such as /etc/profile
or ~/profile, for example. However it would require a complete bash script
parser, i guess.

Any ideas?

Thank you!

-- 
Yguaratã C. Cavalcanti

M.Sc. in Computer Science - http://www.cin.ufpe.br
RiSE Researcher - http://www.rise.com.br/research
------------------------------------------
Home page: http://www.yguarata.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090911/401dba1b/attachment-0001.html>


More information about the Ubuntu-devel-discuss mailing list