aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++) @{