sbase

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

commit 8d34382c7b8b5910a0bca255607a174457709183
parent 945667c65fee3a70d6c46f708892c3a5fdb8b3ed
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;