title: sed on a ASCII-File with no line feed
body: <p>I have an ASCII-Textfile with only one (long) line in it. I want to do a normal sed on it but nothing works. vi shows me with :set list that the line ends with an $
  If i add a new line manually with vi the sed command works. If i do this:</p>
  
  <pre><code>echo $(cat file) |sed 's/.*test//g'
  </code></pre>
  
  <p>it does work too. Any idea why sed cant work with that?</p>