aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-04-21 15:04:14 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-04-21 15:04:14 +0300
commitdfb4f3b18cc0490cf1db9dad021fce62a99443b5 (patch)
tree73521ae6691edc38c503a20725135a7a7ac95d93 /doc
parent3ee06fa46236117ccb00fe4e832e7a7e4694f7f8 (diff)
parent847657fa4ec580658371d6fcaea547f7769fb569 (diff)
downloadegawk-dfb4f3b18cc0490cf1db9dad021fce62a99443b5.tar.gz
egawk-dfb4f3b18cc0490cf1db9dad021fce62a99443b5.tar.bz2
egawk-dfb4f3b18cc0490cf1db9dad021fce62a99443b5.zip
Merge branch 'gawk-5.0-stable'
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/Makefile.in3
-rw-r--r--doc/gawk.texi13
-rw-r--r--doc/gawktexi.in13
-rw-r--r--doc/it/ChangeLog4
-rw-r--r--doc/it/gawktexi.in13
7 files changed, 45 insertions, 9 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 3eb8e944..2af0aa5e 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -8,6 +8,11 @@
separator for all values of FS, but that in reality it
doesn't apply to regexps; this is a POSIX bug.
+2019-04-18 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in (Undocumented): Note an undocumented feature.
+ * Makefile.am (EXTRA_DIST): Add ChangeLog.1 to the list. Ooops.
+
2019-04-14 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in (Case-sensitivity): Document that single-byte
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1e5d86ac..24dd0405 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -28,7 +28,8 @@ info_TEXINFOS = gawk.texi gawkinet.texi gawkworkflow.texi
man_MANS = gawk.1
-EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
+EXTRA_DIST = ChangeLog ChangeLog.0 ChangeLog.1 \
+ README.card ad.block setter.outline \
awkcard.in awkforai.txt texinfo.tex cardfonts \
api-figure1.eps api-figure1.fig api-figure1.pdf \
api-figure1.png api-figure1.txt \
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 7fd6603d..9bce117d 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -357,7 +357,8 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
info_TEXINFOS = gawk.texi gawkinet.texi gawkworkflow.texi
man_MANS = gawk.1
-EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
+EXTRA_DIST = ChangeLog ChangeLog.0 ChangeLog.1 \
+ README.card ad.block setter.outline \
awkcard.in awkforai.txt texinfo.tex cardfonts \
api-figure1.eps api-figure1.fig api-figure1.pdf \
api-figure1.png api-figure1.txt \
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 973e0eb4..21670d57 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -5035,6 +5035,19 @@ returns a textual version of the flags for scalar variables, and the
array back-end implementation type for arrays. This interface is subject
to change and may not be stable.
+When not in POSIX or compatibility mode, if you set @code{LINENO} to a
+numeric value using the @option{-v} option, @command{gawk} adds that value
+to the real line number for use in error messages. This is intended for
+use within Bash shell scripts, such that the error message will reflect
+the line number in the shell script, instead of in the @command{awk}
+program. To demonstrate:
+
+@exmaple
+$ @kbd{gawk -v LINENO=10 'BEGIN @{ print("hi" @}'}
+@error{} gawk: cmd. line:11: BEGIN @{ print("hi" @}
+@error{} gawk: cmd. line:11: ^ syntax error
+@end example
+
@end ignore
@node Invoking Summary
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 3548720b..e986d033 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -4945,6 +4945,19 @@ returns a textual version of the flags for scalar variables, and the
array back-end implementation type for arrays. This interface is subject
to change and may not be stable.
+When not in POSIX or compatibility mode, if you set @code{LINENO} to a
+numeric value using the @option{-v} option, @command{gawk} adds that value
+to the real line number for use in error messages. This is intended for
+use within Bash shell scripts, such that the error message will reflect
+the line number in the shell script, instead of in the @command{awk}
+program. To demonstrate:
+
+@exmaple
+$ @kbd{gawk -v LINENO=10 'BEGIN @{ print("hi" @}'}
+@error{} gawk: cmd. line:11: BEGIN @{ print("hi" @}
+@error{} gawk: cmd. line:11: ^ syntax error
+@end example
+
@end ignore
@node Invoking Summary
diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog
index a384a80e..739d60d7 100644
--- a/doc/it/ChangeLog
+++ b/doc/it/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-18 Antonio Giovanni Colombo <azc100@gmail.com>
+
+ * gawktexi.in: Updated.
+
2019-04-12 Arnold D. Robbins <arnold@skeeve.com>
* 5.0.0: Release tar ball made.
diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in
index b0ff86e6..2c7e5ebe 100644
--- a/doc/it/gawktexi.in
+++ b/doc/it/gawktexi.in
@@ -6711,15 +6711,14 @@ un programma insensibile a maiuscolo/minuscolo senza doverlo modificare.
@c @cindex ISO 8859-1
@c @cindex ISO Latin-1
-In localizzazioni multibyte,
-le equivalenze tra caratteri maiuscoli
+In localizzazioni multibyte, le equivalenze tra caratteri maiuscoli
e minuscoli sono controllate usando i valori in formato esteso
dell'insieme di caratteri della localizzazione.
-Per il resto, i caratteri sono controllati usando l'insieme di caratteri
-ISO-8859-1 (ISO Latin-1).
-Questo insieme di caratteri @`e un'estensione del tradizionale insieme con 128
-caratteri ASCII, che include anche molti caratteri adatti
-per le lingue europee.@footnote{Se questo sembra oscuro,
+Prima della @value{PVERSION} 5.0, i caratteri che usano un solo byte
+erano confrontati usando l'insieme di caratteri ISO-8859-1 (ISO Latin-1).
+Tuttavia, a partire dalla @value{PVERSION} 5.0, i caratteri che usano
+un solo byte sono confrontati usando anche i valori dell'insieme di
+caratteri della localizzazione.@footnote{Se questo sembra oscuro,
non c'@`e ragione di preoccuparsi; significa solo che @command{gawk} fa
la cosa giusta.}