title: How to not to add new line at the end in OS X with SED
body: <p>I have a script that finds all *.mvel files and replaces "D1000" with "D4000". But sed adds new line at the end. How could I avoid new line at the end of file?</p>
  
  <p>Here is my script:</p>
  
  <pre><code>find . -name '*.mvel' -exec sed -i '' 's/D1000/D4000/g' '{}' \;
  </code></pre>