title: Add double quotes to text file
body: <p>I have a text file delimited by semi-colon with multiple rows with a header possibly. I have to add double quotes to each of the columns in the text file. I have tried to get the individual pieces work using sed. however when combined they don't run.</p>
  
  <p>My commands:</p>
  
  <ol>
  <li><p><code>sed "s/;/\";"\/g  a.txt</code> - (replace columns with ";" (ex:d;"b";"c";"f)                                          </p></li>
  <li><p><code>sed "s/^/\"/"g  a.txt</code>  - (– replace double quotes around first column)                                                          </p></li>
  <li><p><code>sed "s/$/\"/"g a.txt</code>  - (replace double quotes around last column)</p></li>
  </ol>
  
  <p>When I combine them as below:                                                                 </p>
  
  <pre><code>sed "s/;/\";"\/g";s/^/\"/g";s/$/\"/ g"  a.txt
  </code></pre>
  
  <p>This doesn't run. I can combine only 2 of above sed statements and run but not all 3. </p>