Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: --only-matching #53

Closed
vith opened this issue Dec 11, 2015 · 2 comments
Closed

Request: --only-matching #53

vith opened this issue Dec 11, 2015 · 2 comments

Comments

@vith
Copy link

vith commented Dec 11, 2015

Like grep's flag, this would suppress printing context around the match. I tried using --context=0 but it still printed context from the beginning and end of the matched lines.

@svent
Copy link
Owner

svent commented Dec 23, 2015

Using --replace '$0' should give the same result. I will add the option --only-matching as a shortcut in an upcoming version.

svent added a commit that referenced this issue Jan 4, 2016
@svent
Copy link
Owner

svent commented Jan 4, 2016

Implemented as of version 0.7.0.

@svent svent closed this as completed Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants