sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 844267bce4cda7f8aef4e88b31a4b2cedcecf54b
parent 78b285deb6c5e6770621223b3364eca1174d8e28
Author: Evan Gates <evan.gates@gmail.com>
Date:   Wed Jun  3 07:31:31 -0700

delete pattern space before updating ranges on c,d,D

Diffstat:
sed.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sed.c b/sed.c @@ -1665,6 +1665,7 @@ app_line(void) static void new_next(void) { + *patt.str = '\0'; update_ranges(pc + 1, prog + pcap); new_line(); pc = prog - 1;