A .profile file is not a "config file". It is an executable program which is run by a shell language interpreter. The only way to faithfully reproduce arbitrary settings made via executing a .profile shell program is by running that shell program or by writing a shell program interpreter. Of course, simple settings can be extracted via crafty regular expressions.
In reply to Re^2: Access system ENV variables from within CGI Script
by Corion
in thread Access system ENV variables from within CGI Script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |