diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-05 21:26:26 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-05 21:26:26 +0300 |
commit | f22f1d89719351c5a1164ef47f24aacdca76cd41 (patch) | |
tree | 3618bc7737f28aaa1a6dec44657d50164d2a34ad /doc/gawk.1 | |
parent | 1387c9a6046ba3a3e9ce8343daac42e1086efa6b (diff) | |
download | egawk-f22f1d89719351c5a1164ef47f24aacdca76cd41.tar.gz egawk-f22f1d89719351c5a1164ef47f24aacdca76cd41.tar.bz2 egawk-f22f1d89719351c5a1164ef47f24aacdca76cd41.zip |
PROCINFO sorting only if not posix. Doc updates.
Diffstat (limited to 'doc/gawk.1')
-rw-r--r-- | doc/gawk.1 | 32 |
1 files changed, 15 insertions, 17 deletions
@@ -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. |