Setting up my environment for program building using .profile doesn' t work (eg extending the $PATH).
It seems that appending a string to a variable just overwrites the initial value of the variable.
My .profile contains following 2 lines:
export TST="this is my first string"
export TST2="$TST after expanding"
After login in (I use puTTY) I get following values:
$ echo $TST
this is my first string
$ echo $TST2
after expanding string
Can anybody help me?
It seems that appending a string to a variable just overwrites the initial value of the variable.
My .profile contains following 2 lines:
export TST="this is my first string"
export TST2="$TST after expanding"
After login in (I use puTTY) I get following values:
$ echo $TST
this is my first string
$ echo $TST2
after expanding string
Can anybody help me?