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.

1
  • How do six fields imply pairs? And the other one - which didn't loop, could miss even pairs anyway, if there were a pair followed by a single then followed by another pair. In fact, it would continue to miss all pairs until another odd match or no match occurred. This one should work, but only with GNU sed - could make it also work for BSD sed if you split out another -execution statement following your :label definition, and used -E rather than -r. Commented Jun 30, 2015 at 23:36