diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2015-06-17 16:55:55 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2015-06-17 16:55:55 -0400 |
commit | 12e3cbe4220792bbcb58f1d5d3dbbcc6e2f7a1db (patch) | |
tree | d5565c617545f99798285f8eefd4c43b9cbde6b6 /extension | |
parent | ac0ef52fe407b89c7968b927c7b2b513cc13963a (diff) | |
download | egawk-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')
-rw-r--r-- | extension/ChangeLog | 5 | ||||
-rw-r--r-- | extension/inplace.3am | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 1539ed97..5b372e9d 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,8 @@ +2015-06-17 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * inplace.3am: Document new inplace variable to control whether + inplace editing is active. + 2015-05-19 Arnold D. Robbins <arnold@skeeve.com> * 4.1.3: Release tar ball made. 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 |