title: ksh: translate unix path to windows path with sed and place in variable
body: <p>Run this at a KornShell (ksh):</p>
  
  <pre><code>echo ${MYVAR} | sed 's/\//\\/g'
  </code></pre>
  
  <p>It works fine if MYVAR is //myserver/myshare
  But doing the same and trying to put it into a variable and it fails with 
  sed: newline or end of file found in pattern</p>
  
  <pre><code>UNCVAR=`echo ${MYVAR} | sed 's/\//\\/g'`
  </code></pre>
  
  <p>How do I properly convert this path from the UNIX style slashes to the windows style slashes?</p>
  
  <p>Important sample data:</p>
  
  <pre><code>//QFLELSAMPLE/reports
  </code></pre>