diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:42:37 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:42:37 +0300 |
commit | ec58524cb5a671c18c4af1b893e599eb04c7760a (patch) | |
tree | 1d1c3d298ec82caa03c0cf5caeb0dd14b08ce247 /extension | |
parent | 76e1f5bfee032dbcb5c19b3e4e92f96aa05731c3 (diff) | |
parent | f7cd8a03c09a00c4cb520f881bbe838cf76e718f (diff) | |
download | egawk-ec58524cb5a671c18c4af1b893e599eb04c7760a.tar.gz egawk-ec58524cb5a671c18c4af1b893e599eb04c7760a.tar.bz2 egawk-ec58524cb5a671c18c4af1b893e599eb04c7760a.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'extension')
-rw-r--r-- | extension/ChangeLog | 11 | ||||
-rw-r--r-- | extension/inplace.3am | 14 |
2 files changed, 23 insertions, 2 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 3188c1e1..bbdd57fb 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,14 @@ +2015-06-17 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * inplace.3am (BUGS): Document that ACLs are not preserved, and + a temporary file may be left behind if the program is killed by + a signal. + +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..a045fe6c 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,8 +32,18 @@ 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 BUGS +While the extension does attempt to preserve ownership and permissions, it makes no attempt to copy the ACLs from the original file. +.PP +If the program dies prematurely, as might happen if an unhandled signal is received, a temporary file may be left behind. .SH EXAMPLE .ft CW .nf |