Maybe I am looking for something I should not see, but if 'export' places a variable in the environment shouldn't I be able to see it when using the 'set' command. I wrote this small script to test this and nothing shows in set. I know I am missing something. If I had the same lines into /etc/profile when I log in I see JAVA_HOME in set.
#!/bin/sh JAVA_HOME='/usr/java/j2re1.4.2_03' export JAVA_HOME thanks Tony