9front - general discussion about 9front
 help / color / mirror / Atom feed
* Sed regression with new libregexp
@ 2016-05-01  0:34 Benjamin Purcell
  0 siblings, 0 replies; only message in thread
From: Benjamin Purcell @ 2016-05-01  0:34 UTC (permalink / raw)
  To: 9front

I introduced a regression in sed that currently has screwed up
/sys/lib/man/secindex.

The issue is that sed 's/$/ foo/g' will actually replace the newline
character with foo instead of just appending at the end of the line.
This only makes a difference when sed is operating on a multiple line
record. The effect is a record like:

foo
bar
baz

becomes:

foo foobar foo baz foo

instead of

foo foo
bar foo
baz foo

The fix is at http://okturing.com/src/3595/body Please someone apply
this at their earliest convenience (sorry).

Thanks,
spew


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-01  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-01  0:34 Sed regression with new libregexp Benjamin Purcell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).