View Single Post
Old 12-12-2005, 01:38 PM   #6 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,174
Belisarius is on a distinguished road
I switch between tcsh/csh (Solaris) and bash/sh (Linux), and both take the ${var} syntax.

As a rule, I always ${} my variables so my code is consistent. I strongly suggest you do the same, it saves headaches in the future (like this one). A little extra typing goes a long way in readability.
__________________
GitS
Belisarius is offline   Reply With Quote