The different sorts of quoting are only meaning full in various sorts of
contexts. For example, in case b, the use of double quotes would only
be needed if there was more going on, such as:
set b "Frank woke up and said, '$hw'"
The statement:
set b Frank woke up and said, '$hw'
would raise an error (too many argumets to set).
Case c handles a different case, where the hw dereference would be
followed by an additional 'word' character:
set c "${hw}x"
Leaving off the braces would yield:
set c "$hwx"
which would be an error, since there is no variable named "hwx". The
braces separate the variable "hw" from the random "x" following.
--
Robert Heller --
978-544-6933 /
hel...@deepsoft.com
Deepwoods Software --
http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\
www.asciiribbon.org -- against proprietary attachments