💭 Deleting Specific Lines in a File with sed or yq ================================================== !https://nickjanetakis.com/blog/deleting-specific-lines-in-a-file-with-sed-or-yq Date: July 28, 2023 Deleting Specific Lines in a File with sed or yq — Nick Janetakis We Nick Janetakis · nickjanetakis.com [1] 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. !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://nickjanetakis.com/blog/deleting-specific-lines-in-a-file-with-sed-or-yq [2]: /thoughts/ [3]: /tags/thoughts/