title: How to add double quotes to a line with SED or AWK?
body: <p>I have the following list of words:</p>
  
  <pre><code>name,id,3
  </code></pre>
  
  <p>I need to have it double quoted like this:</p>
  
  <pre><code>"name,id,3"
  </code></pre>
  
  <p>I have tried <code>sed 's/.*/\"&amp;\"/g'</code> and got:</p>
  
  <pre><code>"name,id,3
  </code></pre>
  
  <p>Which has only one double quote and is missing the closing double quote.</p>
  
  <p>I've also tried <code>awk {print "\""$1"\""}</code> with exactly the same result. I need help.</p>