gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, master, updated. gawk-4.1.0-5507-gff873ce5


From: Antonio Giovanni Colombo
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-5507-gff873ce5
Date: Mon, 4 Mar 2024 07:39:01 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, master has been updated
       via  ff873ce52bf6a1766935281883b74b49edc7d38f (commit)
      from  6a0101b83ecbc37af3192f5512687031d6064dc4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=ff873ce52bf6a1766935281883b74b49edc7d38f

commit ff873ce52bf6a1766935281883b74b49edc7d38f
Author: Antonio Giovanni Colombo <azc100@gmail.com>
Date:   Mon Mar 4 13:38:25 2024 +0100

    warning about inplace updating

diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog
index be69782c..a995ccfb 100755
--- a/doc/it/ChangeLog
+++ b/doc/it/ChangeLog
@@ -1,3 +1,7 @@
+2024-03-04         Antonio Giovanni Colombo   <azc100@gmail.com>
+
+       * gawk.texi: Updated.
+
 2024-02-12         Antonio Giovanni Colombo   <azc100@gmail.com>
 
        * gawk.texi: Updated.
diff --git a/doc/it/gawk.texi b/doc/it/gawk.texi
index 7e3fbecf..92c467e1 100644
--- a/doc/it/gawk.texi
+++ b/doc/it/gawk.texi
@@ -43878,7 +43878,12 @@ standard output verso un file temporaneo definito in 
modo da avere lo stesso
 proprietario e le stesse autorizzazioni del file originale.  Dopo che il file
 @`e stato elaborato, l'estensione riporta lo standard output alla sua
 destinazione originale.
-Se @code{INPLACE_SUFFIX} non @`e una stringa vuota, il file originale @`e
+(A motivo dell'implementazione, ha senso ridirigere lo standard output
+di @command{gawk} a @file{/dev/null}, invece di lasciarlo impostato al
+terminale in uso; in questo modo, l'output verr@`a scritto in blocchi,
+ossia in maniera pi@`u efficiente rispetto alla scrittura riga per riga).
+
+Se @code{inplace::suffix} non @`e una stringa vuota, il file originale @`e
 collegato a un @value{FN} di backup, creato aggiungendo il
 suffisso al nome originale.
 Infine, il file temporaneo @`e rinominato in modo da essere lo stesso del
@@ -43908,7 +43913,7 @@ $ @kbd{gawk -i inplace '@{ gsub(/pippo/, "pluto") @}; 
@{ print @}' file1 file2 f
 Per mantenere una copia di backup del file originale, si provi a fare 
cos@`{@dotless{i}}:
 
 @example
-$ @kbd{gawk -i inplace -v INPLACE_SUFFIX=.bak '@{ gsub(/pippo/, "pluto") @}}
+$ @kbd{gawk -i inplace -v inplace::suffix=.bak '@{ gsub(/pippo/, "pluto") @}}
 > @kbd{@{ print @}' file1 file2 file3}
 @end example
 

-----------------------------------------------------------------------

Summary of changes:
 doc/it/ChangeLog | 4 ++++
 doc/it/gawk.texi | 9 +++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]