One more question ... why is it that if I run this from pterm it works ...
When I do the same thing in a shell script, it doesn't work. Try it, and you will see. Anyone know why? I have been told that its because when I run it in a script, the variable is not treated as a global one. But I have read instruction s on doing this for global defined variables.
I have tried this so many ways and it fails. If I type it out at pterm it sticks. The same thing put into an .sh file and it fails. Frustrating!