News for hackers. Stuff that matters.
Re:Useful sed scripts and patterns by silisili on Thursday November 11, 2021 @11:26PM (#29196290)
Sed is probably the one tool I owe my career most to. I made a living mostly on it for a few years as an ops guy, and I didn't even know half of these use cases. The variable delimiter alone was such a beautifully thought out decision that made everything easier, that I likely would have never considered had I written it.
Re:Useful sed scripts and patterns by adrianscheff on Friday November 12, 2021 @04:51AM (#29197736)
I'm glad to hear that. I'm learning (and re-learning) sed myself, specially after long periods of not using it. So in a way I've written it for me too.

Btw, there is one more use case of a variable delimiter which is more arcane (and you can combine it with the other custom delimiter) `sed -s '\_/bin/bash_s:grep:egrep:' myfile.txt`