sed can be a tricky beast, I often stumble when trying to pipe into it. Next time I need to use sed, I should reference this article by Nick Janetakis. He makes it looks much easier than my experience has been, and it appears to behave like a vim :%s/
substitution does, or a g/
g command.
-
@waylonwalker
2023
Deleting Specific Lines in a File with sed or ...
https://nickjanetakis.com/blog/deleting-specific-lines-in-a-file-with- ...
You found my thought's a collection of short posts generally tied to a link on the web and written through a small chrome extension. See full posts on waylonwalker.com