Hacker News new | ask | show | jobs
by otherflavors 1677 days ago
I'd have suggested to make this more challenging and only use POSIX sed, but -y is not part of POSIX cal anyway
1 comments

Another way to make it more challenging would be to do everything in a single `sed` call. Maybe it's for that kind of script that features like `D`'s and `P`'s "up to the first newline" detail become useful.