Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
otherflavors
· 5y ago · 0 comments
I'd have suggested to make this more challenging and only use POSIX sed, but -y is not part of POSIX cal anyway
Comments
[–]
jolmg
5y ago
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.