aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.119
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index 83a91094..ff3c0a20 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -1082,13 +1082,20 @@ system call.
\fBPROCINFO["sorted_in"]\fP
If this element exists in
.BR PROCINFO ,
-.IR "no matter what its value" ,
-then
-.I gawk
-will cause array
+then its value controls the order in which array elements
+are traversed in
.B for
-loops
-to traverse the array indices in sorted order.
+loops.
+Supported values are
+\fB"ascending index string"\fR,
+\fB"ascending index number"\fR,
+\fB"ascending value"\fR,
+\fB"descending index string"\fR,
+\fB"descending index number"\fR,
+\fB"descending value"\fR, and
+\fB"unsorted"\fR.
+The order specification words can be truncated, or omitted (provided
+that at least one is present), or given in any order.
.TP
\fBPROCINFO["version"]\fP
the version of