-
Notifications
You must be signed in to change notification settings - Fork 137
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
Flag to only output matched lines #150
Comments
Just to add to your request: $ echo "hello 123 there!" | sd -m '\d+'
123 |
I'd like ot ech othe above. I would like to extract and modify some lines in a document. Example being a naïve parse of an HTML document. I'd like to extract some tags, and discard the rest. It would be nice to be able:
|
Adding to the request. Using Note about the upcoming potential I still think that |
It would be nice to have an option to only output matched lines:
The text was updated successfully, but these errors were encountered: