Here's a sed tutorial I wrote a few years ago

https://xpmo.gitlab.io/post/intermediate-sed-usage/

Feedback is still welcome, either here or as Merge Requests to my Gitlab Pages repo.

8 points · 2 comments · view on lemmy.world

2 Comments

lowleveldata@programming.dev · 0 pts · 3y (1 reply)

Never quite understand what sed is designed for. It seems to be able to do almost everything in the cost of complexity. Really useful when I need to hack together some config files for auto builds tho.

gamma@programming.dev · 1 pts · 3y

The name stream editor hints at its origin: It's a strictly non-interactive implementation based on the standard Unix line editor ed -- or technically qed, which is based on ed.