aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.132
1 files changed, 15 insertions, 17 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index f7ec6d18..c11c59e7 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -14,7 +14,7 @@
. if \w'\(rq' .ds rq "\(rq
. \}
.\}
-.TH GAWK 1 "Apr 29 2011" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "May 5 2011" "Free Software Foundation" "Utility Commands"
.SH NAME
gawk \- pattern scanning and processing language
.SH SYNOPSIS
@@ -1088,17 +1088,18 @@ are traversed in
.B for
loops.
Supported values are
-\fB"ascending index string"\fR,
-\fB"ascending index number"\fR,
-\fB"ascending value string"\fR,
-\fB"ascending value number"\fR,
-\fB"descending index string"\fR,
-\fB"descending index number"\fR,
-\fB"descending value string"\fR,
-\fB"descending value number"\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.
+\fB"@ind_str_asc"\fR,
+\fB"@ind_num_asc"\fR,
+\fB"@val_type_asc"\fR,
+\fB"@val_str_asc"\fR,
+\fB"@val_num_asc"\fR,
+\fB"@ind_str_desc"\fR,
+\fB"@ind_num_desc"\fR,
+\fB"@val_type_desc"\fR,
+\fB"@val_str_desc"\fR,
+\fB"@val_num_desc"\fR,
+and
+\fB"@unsorted"\fR.
The value can also be the name of any comparison function defined
as follows:
.PP
@@ -2494,11 +2495,8 @@ controls the direction and the comparsion mode.
Valid values for
.I how
are
-\fB"ascending string"\fR,
-\fB"ascending number"\fR,
-\fB"descending string\fR"
-and
-\fB"descending number"\fR.
+any of the strings valid for
+\fBPROCINFO["sorted_in"]\fR.
It can also be the name of a user-defined
comparison function as described in
\fBPROCINFO["sorted_in"]\fR.