|
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.
|