significance of '$' prefix to Envrironment variables
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
significance of '$' prefix to Envrironment variables
Is the '$' prefixed to environment variables just to distinguish them from the user defined job parameters or is there any underlying reason ?
- Zulfi
You'd probably need a time machine and a trip back to the 60's to find out the reasons behind fundamental things like this. Before UNIX were fun things like Multics and RUNCOM. Some history here including the interesting note that "Unix" was a joke name someone made up that stuck.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
TMPDIR is the name of an environment variable.
$TMPDIR is a reference to the current value of that environment variable.
Any variation to that is laziness or ignorance.
$TMPDIR is a reference to the current value of that environment variable.
Any variation to that is laziness or ignorance.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.