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.
💠Deleting Specific Lines in a File with sed or yq
!https://nickjanetakis.com/blog/deleting-specific-lines-in-a-file-with-sed-or-yq
Connections
Related tags and posts connected to this entry.
