title: Sed move a line
body: <p>I just need to move a line up in sed. I can select the line with </p>
  
  <pre><code>sed -i '7s///'
  </code></pre>
  
  <p>I need to move line 7 up 2 lines so it will be line 5. </p>
  
  <p>I can't find anything on the internet to do this without complicated scripts, I can't find a simple solution of moving a specific line a specific number of times.</p>