Skip to content

How to omit the matched content entirely #2417

Answered by BurntSushi
fedemengo asked this question in General
Discussion options

You must be logged in to vote

You could just do -r '', but you'll be left with a trailing colon. I believe that's as close as you can get.

I am not in favor of adding a flag to do anything more for this unless you can make a compelling argument that this is something a ton of folks would benefit from. (I suspect that's not the case.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fedemengo
Comment options

Answer selected by fedemengo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants