title: How to delete the first and last two characters from a text file using sed?
body: <p>I have a text file like this</p>
  
  <pre><code>abcdefg
  abcdefg
  abcdefg
  abcdefg
  </code></pre>
  
  <p>How to delete the first and last two characters from each line with sed? I would like to get the output like this</p>
  
  <pre><code>bcde
  bcde
  bcde
  bcde
  </code></pre>