Hacker News new | ask | show | jobs
by mtdewcmu 4368 days ago
The way you can nest conditions in sed, like /foo/ { /bar/x }, is pretty powerful, and I knew a good bit of sed before I realized you could do that. It's not readily obvious from the manual.