in reply to Distinguishing variables from surrounding text


I really don't see anything wrong with ${foo}.

Nevertheless, you could use $, if you haven't set it:

"$foo$,KB"

Update: actually that won't work with -w, which is probably just as well.

--
John.