title: get all lines NOT end with 'rpms' in sed
body: <p>I want to append following line to those lines. If you have any good tips, please let me know. Thanks a lot. </p>
  
  <p>I have tried </p>
  
  <pre><code>sed -e '/?!(rpms$)/{N;s/\n//}' filename
  </code></pre>
  
  <p>But failed. </p>