Fix some sed bugs and improve error reporting.
authorRob Landley <rob@landley.net>
Wed, 10 Dec 2014 23:59:00 +0000 (17:59 -0600)
committerRob Landley <rob@landley.net>
Wed, 10 Dec 2014 23:59:00 +0000 (17:59 -0600)
commitacb2d0ed74312da548e2b209732b2f7e67a65c23
tree7443a8671ea97a4611ca42ce20bde49a46f39a3f
parent50fc9ed007b084883fb09c64866c45c571e70a99
Fix some sed bugs and improve error reporting.

A newline after 'b' commands in -e command line patterns was being discarded
as whitespace, a single element regex match on a {} was leaving stale state
for the next line, and giant -e blobs of instructions were saying things
like problem at character 432 (note: nulls inserted for regex processing
aren't always cleaned up, screws up error reporting).
toys/pending/sed.c