title: Use tr to remove line breaks in multiple files?
body: <p>I have a set of several hundred .txt files that I am analyzing (ngram analysis using NSP), and I need to remove all the line breaks from each file. I can do it one at a time using tr:</p>
  
  <pre><code>$ tr -d "\n\r" &lt; input1.txt &gt; output1.txt
  </code></pre>
  
  <p>How can I do this for my entire directory of files at once?</p>