title: removing all trailing whitespaces
body: <p>I want to remove all trailing white spaces from my .rb file. Also I want to remove all trailing ^M characters. This is what I have got. Does it look okay?</p>
  
  <pre><code>find . -name '*.rb' | xargs perl -pi -e 's/ +$//'
  </code></pre>