title: How to wrap output lines in quotes in bash?
body: <p>Essentially I want the inverse operation performed in <a href="https://stackoverflow.com/q/11338191/24874">this question</a>.</p>
  
  <p>I'm running a search, looking for files that have Windows line endings (<code>\r\n</code>) as I want to <a href="https://stackoverflow.com/a/12521339/24874">remove them</a>.</p>
  
  <pre class="lang-sh prettyprint-override"><code>$ grep -URl ^M .
  </code></pre>
  
  <p>Some of the returned files have spaces in their names:</p>
  
  <pre class="lang-none prettyprint-override"><code>./file name 1.txt
  ./file name 2.txt
  </code></pre>
  
  <p>In order to pass this on to another tool via <code>xargs</code>, I need to quote the lines. How can I transform to this output instead:</p>
  
  <pre class="lang-none prettyprint-override"><code>"./file name 1.txt"
  "./file name 2.txt"
  </code></pre>