title: remove special characters from a file in linux
body: <p>I am trying to remove a bunch of ^K from a file in linux for class but everything I have been trying is not working.</p>
  
  <p>so I cat a file memo.txt and it has double spaced lines</p>
  
  <p>I less the file and it has ^K after every line</p>
  
  <p>I am trying to remove the ^K and output it into a new file</p>
  
  <p>I have tried</p>
  
  <pre><code>cat memo.txt | tr -d "\n" &gt; memo.new
  cat memo.txt | tr -d "^K" &gt; memo.new
  </code></pre>
  
  <p>and some other sed functions.</p>