diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-27 19:48:52 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-27 19:48:52 -0800 |
| commit | 7d4bc36949cec8e5c791c352a264cd1dea4f8a1e (patch) | |
| tree | f2a873d8628beae17af524c2334c75b97a50beb0 /bp.1 | |
| parent | 177bc55cfc405a7df0f666aa2dce29e428b9592c (diff) | |
Added in-place filtering/replacements
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,7 @@ bp \- Bruce's Parsing Expression Grammar tool [\fI-j\fR|\fI--json\fR] [\fI-l\fR|\fI--list-files\fR] [\fI-i\fR|\fI--ignore-case\fR \fI<pattern>\fR] +[\fI-I\fR|\fI--inplace\fR] [\fI-p\fR|\fI--pattern\fR \fI<pattern>\fR] [\fI-P\fR|\fI--pattern-string\fR \fI<string-pattern>\fR] [\fI-d\fR|\fI--define\fR \fI<name>\fR:\fI<pattern>\fR] @@ -38,6 +39,9 @@ Print only the names of files containing matches instead of the matches themselv .B \-i\fR, \fB--ignore-case Perform pattern matching case-insensitively. +.B \-I\fR, \fB--inplace +Perform filtering or replacement in-place (i.e. overwrite files with new content). + .B \-d\fR, \fB--define \fI<name>\fR:\fI<pattern>\fR Define a grammar rule using a bp pattern. |
