Post #1767874
2026-04-26 23:57 UTC
@aartaka
I've heard the newline-in-g is the reason GNU made the change, but it works as expected in BSD ed without breakage:
g/interesting/s/splithere/before\
after
works fine, and if I want other commands, I can add them by explicitly including the delimiter:
g/interesting/s/splithere/before\
after/\
-s/.*/[&]
So GNU broke something specified by POSIX that I used regularly, in the name of fixing something that was never broken, and it makes me a spot grumpy :flan_XD:
@tux0r
Replies (1)
-
@tux0r@layer8.space 2026-04-27 08:42
@ed1conf @aartaka "GNU broke something" isn't that uncommon though.