Yes those are brilliant uses of sed. However for now ‘-v’ ‘--invert-match’ Invert the sense of matching, to select non-matching lines. (‘-v’ is specified by POSIX.)
perhaps should mention that "-v is processed before -C, -A, and -B, not after."
Yes those are brilliant uses of sed. However for now ‘-v’ ‘--invert-match’ Invert the sense of matching, to select non-matching lines. (‘-v’ is specified by POSIX.)
perhaps should mention that "-v is processed before -C, -A, and -B, not after."