aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-09-11 11:59:40 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-09-11 11:59:40 +0300
commit7d08b2cd4dd4af16bac395bf1b93d7ed03cdca09 (patch)
treeb260b624a77d0663fb96ee1a0fd4e504cf5f7e04
parentfbb3e167f9f7e3e6b1372bf3088393b6e894b2cf (diff)
downloadegawk-7d08b2cd4dd4af16bac395bf1b93d7ed03cdca09.tar.gz
egawk-7d08b2cd4dd4af16bac395bf1b93d7ed03cdca09.tar.bz2
egawk-7d08b2cd4dd4af16bac395bf1b93d7ed03cdca09.zip
Fix small doc issue.
-rw-r--r--awklib/eg/prog/id.awk2
-rw-r--r--doc/gawk.texi4
-rw-r--r--doc/gawktexi.in4
3 files changed, 6 insertions, 4 deletions
diff --git a/awklib/eg/prog/id.awk b/awklib/eg/prog/id.awk
index 50c40c05..ff892039 100644
--- a/awklib/eg/prog/id.awk
+++ b/awklib/eg/prog/id.awk
@@ -160,9 +160,7 @@ function fill_info_for_user(user,
split(pwent, fields, ":")
uid = fields[3] + 0
gid = fields[4] + 0
-ignore
-end ignore
groupnames = getgruser(user)
split(groupnames, groups, " ")
for (i = 1; i in groups; i++) {
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 82427bda..80573502 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -25959,10 +25959,12 @@ have to be gone through and turned back into group numbers,
so that the rest of the code will work as expected:
@example
-@c file eg/prog/id.awk
@ignore
+@c file eg/prog/id.awk
+@c endfile
@end ignore
+@c file eg/prog/id.awk
groupnames = getgruser(user)
split(groupnames, groups, " ")
for (i = 1; i in groups; i++) @{
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 16914084..5a114349 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -24969,10 +24969,12 @@ have to be gone through and turned back into group numbers,
so that the rest of the code will work as expected:
@example
-@c file eg/prog/id.awk
@ignore
+@c file eg/prog/id.awk
+@c endfile
@end ignore
+@c file eg/prog/id.awk
groupnames = getgruser(user)
split(groupnames, groups, " ")
for (i = 1; i in groups; i++) @{