Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • @sebweisgerber Of course. The original script has an extra line diff-ing output with a file with the result you wanted ;-) Commented Apr 25, 2014 at 7:28
  • There's a small bug I noticed. The final buffer is not printed out, so content after the last marker is lost? @Anthon Commented Apr 25, 2014 at 7:48
  • I wrote a script in Python, that does nearly the same job, but uses not a fixed linecount, but a third marker: unix.stackexchange.com/questions/127273/… Commented Apr 30, 2014 at 13:14