Hi snigdha
nope that was not my question :-)
my question was that I have a shell script A.sh.
Now, I need to use this shell script set/get the values of environment variables.
Now if I need to get the value of an environment variable I would need to do something like
A.sh <environment- name>
NOw how does the shell script take this $1 argument and refer to it as an environment variable and get the value ?
i.e. the code var=$1 echo $var will only get me the name of the environment variable that was passed to the shell script rather than the value of environment variable.
similarly for setting i want to know how it can be done.
additionally i am calling this shell script running in K shell by using Runtime.getExec() from a
java program
[ July 31, 2002: Message edited by: deep venu ]