aboutsummaryrefslogtreecommitdiffstats
path: root/extension/inplace.3am
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2015-06-17 16:55:55 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2015-06-17 16:55:55 -0400
commit12e3cbe4220792bbcb58f1d5d3dbbcc6e2f7a1db (patch)
treed5565c617545f99798285f8eefd4c43b9cbde6b6 /extension/inplace.3am
parentac0ef52fe407b89c7968b927c7b2b513cc13963a (diff)
downloadegawk-12e3cbe4220792bbcb58f1d5d3dbbcc6e2f7a1db.tar.gz
egawk-12e3cbe4220792bbcb58f1d5d3dbbcc6e2f7a1db.tar.bz2
egawk-12e3cbe4220792bbcb58f1d5d3dbbcc6e2f7a1db.zip
For the inplace extension, add inplace variable to control whether it's active.
Diffstat (limited to 'extension/inplace.3am')
-rw-r--r--extension/inplace.3am9
1 files changed, 8 insertions, 1 deletions
diff --git a/extension/inplace.3am b/extension/inplace.3am
index 64aec91c..b1682e22 100644
--- a/extension/inplace.3am
+++ b/extension/inplace.3am
@@ -1,4 +1,4 @@
-.TH INPLACE 3am "Apr 08 2015" "Free Software Foundation" "GNU Awk Extension Modules"
+.TH INPLACE 3am "Jun 17 2015" "Free Software Foundation" "GNU Awk Extension Modules"
.SH NAME
inplace \- emulate sed/perl/ruby in-place editing
.SH SYNOPSIS
@@ -32,6 +32,13 @@ rule or on the command line, then the
extension concatenates that suffix onto the original
filename and uses the result as a filename for renaming
the original.
+.PP
+One can disable inplace editing selectively by placing
+.B inplace=0
+on the command line prior to files that should be processed normally.
+One can reenable inplace editing by placing
+.B inplace=1
+prior to files that should be subject to inplace editing.
... .SH NOTES
... .SH BUGS
.SH EXAMPLE