printf $"Hello $var\n" vs. printf "Hello $var\n" -- not a typo. What is it?
Searching search engines for something specifically about a dollar-sign in front of a string or variable is near impossible. And so far (still looking) the Greg's Wiki and various other Bash tutorials and things, are not showing this syntax. I'm sure it's somwehere, I just haven't found it yet.
Is there some reason why a dollar-sign is prepended to the front of a quoted string (which happens to contain a variable)? I have found that with either `echo` or `printf` there is no detectable difference between the output of the two.
Can someone explain, or point me to where is explained, this?