Completed dollar quoted string port.  Untested.