diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-05-01 03:03:12 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-05-01 03:03:12 +0200 |
commit | e880549da638e3fa20465e7ed90d3803aa28fc18 (patch) | |
tree | 9e052441a18438967f9cae9633f956636c8f7369 /sys/src/libthread/example.c | |
parent | 77d23bae0f7d64ea958c8df410cf029392c6c48c (diff) |
libregex: fix sed regression (thans spew)
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
Diffstat (limited to 'sys/src/libthread/example.c')
0 files changed, 0 insertions, 0 deletions