summaryrefslogtreecommitdiff
path: root/awklib/eg/lib/inplace.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awklib/eg/lib/inplace.awk')
-rw-r--r--awklib/eg/lib/inplace.awk10
1 files changed, 5 insertions, 5 deletions
diff --git a/awklib/eg/lib/inplace.awk b/awklib/eg/lib/inplace.awk
index a090d9e0..6403a228 100644
--- a/awklib/eg/lib/inplace.awk
+++ b/awklib/eg/lib/inplace.awk
@@ -2,13 +2,13 @@
@load "inplace"
-# Please set INPLACE_SUFFIX to make a backup copy. For example,
-# you may want to set INPLACE_SUFFIX to .bak on the command-line or in a
-# BEGIN block.
+# Please set INPLACE_SUFFIX to make a backup copy. For example, you may
+# want to set INPLACE_SUFFIX to .bak on the command line or in a BEGIN rule.
BEGINFILE {
- inplace_begin(FILENAME, INPLACE_SUFFIX)
+ inplace_begin(FILENAME, INPLACE_SUFFIX)
}
+
ENDFILE {
- inplace_end(FILENAME, INPLACE_SUFFIX)
+ inplace_end(FILENAME, INPLACE_SUFFIX)
}