diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 13:12:22 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 13:12:22 -0800 |
| commit | 00b96b1e1373335ff05145c5c678beff38faf369 (patch) | |
| tree | 203c620c1d1f969091f3866611a73ff4eeaf7cf5 /bp.c | |
| parent | ef345797e2c8b6086af979ee4414a29abba16164 (diff) | |
Print trailing context in INPLACE modification
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |
