From 00b96b1e1373335ff05145c5c678beff38faf369 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 13:12:22 -0800 Subject: Print trailing context in INPLACE modification --- bp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bp.c b/bp.c index c6d9739..ce67ce2 100644 --- a/bp.c +++ b/bp.c @@ -166,6 +166,8 @@ static int inplace_modify_file(def_t *defs, file_t *f, vm_op_t *pattern) } if (inplace_file) { + // Print trailing context lines: + print_match(inplace_file, &pr, NULL); printf("%s\n", f->filename); fclose(inplace_file); } -- cgit v1.2.3