💭 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

Image: Deleting Specific Lines in a File with sed or yq — Nick Janetakis — We <https://nickjanetakis.com/assets/blog/cards/deleting-specific-lines-in-a-file-with-sed-or-yq.jpg> Deleting Specific Lines in a File with sed or yq — Nick Janetakis We Nick Janetakis · nickjanetakis.com

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 [38;2;189;147;249m:%s/[0m substitution does, or a [38;2;189;147;249mg/[0m g command.

[38;2;68;71;90mNOTE[0m
[38;2;68;71;90m│ [0mThis post is a [4m[38;2;248;248;242mthought[0m <[38;2;248;248;242m/thoughts/[0m>. It’s a short note that I make about someone else’s content online #thoughts
