From d31d2e89850d3132850e0f2e1ce6d973bd482073 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 18:23:18 -0800 Subject: Added interactive confirmation mode for replacing text --- bp.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bp.1') diff --git a/bp.1 b/bp.1 index 5b220ad..68f452e 100644 --- a/bp.1 +++ b/bp.1 @@ -12,6 +12,7 @@ bp \- Bruce's Parsing Expression Grammar tool [\fI-l\fR|\fI--list-files\fR] [\fI-i\fR|\fI--ignore-case\fR \fI\fR] [\fI-I\fR|\fI--inplace\fR] +[\fI-C\fR|\fI--confirm\fR] [\fI-p\fR|\fI--pattern\fR \fI\fR] [\fI-P\fR|\fI--pattern-string\fR \fI\fR] [\fI-r\fR|\fI--replace\fR \fI\fR] @@ -40,6 +41,9 @@ Perform pattern matching case-insensitively. .B \-I\fR, \fB--inplace Perform filtering or replacement in-place (i.e. overwrite files with new content). +.B \-C\fR, \fB--confirm +During in-place modification of a file, confirm before each modification. + .B \-r\fR, \fB--replace \fI\fR Replace all occurrences of the main pattern with the given string. -- cgit v1.2.3