DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ d

⟦6157c6e80⟧

    Length: 5352 (0x14e8)
    Names: »dsort.man«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/stat-5.3/eu/stat/doc/dsort.man« 

Hex Dump

0x0000…0020 44 53 4f 52 54 28 31 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆DSORT(1)                        ┆
0x0020…0040 20 20 20 7c 53 54 41 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4a 75   ┆   |STAT                      Ju┆
0x0040…0060 6e 65 20 31 37 2c 20 31 39 38 36 0a 0a 4e 41 4d 45 0a 20 20 20 20 20 64 73 6f 72 74 20 2d 20 6d   ┆ne 17, 1986  NAME      dsort - m┆
0x0060…0080 75 6c 74 69 70 6c 65 20 6b 65 79 20 64 61 74 61 2d 66 69 6c 65 20 73 6f 72 74 69 6e 67 20 66 69   ┆ultiple key data-file sorting fi┆
0x0080…00a0 6c 74 65 72 0a 0a 53 59 4e 4f 50 53 49 53 0a 20 20 20 20 20 64 73 6f 72 74 20 5b 2d 61 63 65 69   ┆lter  SYNOPSIS      dsort [-acei┆
0x00a0…00c0 6e 72 5d 20 5b 2d 6c 20 6c 69 6e 65 73 5d 20 5b 5b 74 79 70 65 5d 5b 63 6f 6c 75 6d 6e 2d 72 61   ┆nr] [-l lines] [[type][column-ra┆
0x00c0…00e0 6e 67 65 5d 5d 20 2e 2e 2e 0a 0a 44 45 53 43 52 49 50 54 49 4f 4e 0a 20 20 20 20 20 5f 08 64 5f   ┆nge]] ...  DESCRIPTION      _ d_┆
0x00e0…0100 08 73 5f 08 6f 5f 08 72 5f 08 74 20 73 6f 72 74 73 20 64 61 74 61 20 69 74 20 72 65 61 64 73 20   ┆ s_ o_ r_ t sorts data it reads ┆
0x0100…0120 66 72 6f 6d 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 2e 20 20 49 74 20 73 6f 72   ┆from the standard input.  It sor┆
0x0120…0140 74 73 20 6c 69 6e 65 73 0a 20 20 20 20 20 62 61 73 65 64 20 6f 6e 20 6e 75 6d 65 72 69 63 61 6c   ┆ts lines      based on numerical┆
0x0140…0160 20 6f 72 20 61 6c 70 68 61 62 65 74 69 63 61 6c 20 76 61 6c 75 65 73 20 69 6e 20 77 68 69 74 65   ┆ or alphabetical values in white┆
0x0160…0180 73 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 0a 20 20 20 20 20 63 6f 6c 75 6d 6e 73 2e 20 20 46   ┆space-separated      columns.  F┆
0x0180…01a0 6f 72 20 77 68 65 6e 20 74 77 6f 20 63 6f 6c 75 6d 6e 73 20 68 61 76 65 20 74 68 65 20 73 61 6d   ┆or when two columns have the sam┆
0x01a0…01c0 65 20 76 61 6c 75 65 2c 20 79 6f 75 20 63 61 6e 20 73 75 70 70 6c 79 0a 20 20 20 20 20 66 75 72   ┆e value, you can supply      fur┆
0x01c0…01e0 74 68 65 72 20 73 6f 72 74 69 6e 67 20 63 6f 6c 75 6d 6e 73 20 74 6f 20 62 72 65 61 6b 20 74 69   ┆ther sorting columns to break ti┆
0x01e0…0200 65 73 2e 20 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 73 6f 72 74 73 20 62 79 20 6c 6f   ┆es.  _ d_ s_ o_ r_ t sorts by lo┆
0x0200…0220 6f 6b 69 6e 67 20 61 74 0a 20 20 20 20 20 63 6f 6c 75 6d 6e 73 20 79 6f 75 20 63 68 6f 6f 73 65   ┆oking at      columns you choose┆
0x0220…0240 2c 20 61 6e 64 20 6f 72 64 65 72 73 20 6c 69 6e 65 73 20 73 6f 20 74 68 61 74 20 74 68 65 20 64   ┆, and orders lines so that the d┆
0x0240…0260 61 74 61 20 6f 72 20 6c 61 62 65 6c 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 63 68 6f 73 65 6e   ┆ata or labels in the      chosen┆
0x0260…0280 20 63 6f 6c 75 6d 6e 73 20 61 72 65 20 6f 72 64 65 72 65 64 2e 20 20 59 6f 75 20 63 61 6e 20 6e   ┆ columns are ordered.  You can n┆
0x0280…02a0 61 6d 65 20 74 68 65 20 73 70 65 63 69 66 69 63 20 63 6f 6c 75 6d 6e 20 6e 75 6d 62 65 72 73 0a   ┆ame the specific column numbers ┆
0x02a0…02c0 20 20 20 20 20 79 6f 75 20 77 61 6e 74 2c 20 61 6e 64 20 79 6f 75 20 63 61 6e 20 75 73 65 20 74   ┆     you want, and you can use t┆
0x02c0…02e0 68 65 20 4d 2d 4e 20 6e 6f 74 61 74 69 6f 6e 20 74 6f 20 73 70 65 63 69 66 79 20 61 20 73 65 71   ┆he M-N notation to specify a seq┆
0x02e0…0300 75 65 6e 63 65 2c 20 66 72 6f 6d 0a 20 20 20 20 20 4d 20 74 6f 20 4e 2c 20 6f 66 20 63 6f 6c 75   ┆uence, from      M to N, of colu┆
0x0300…0320 6d 6e 73 2e 20 20 52 61 6e 67 65 73 20 63 61 6e 20 62 65 20 66 72 6f 6d 20 73 6d 61 6c 6c 20 74   ┆mns.  Ranges can be from small t┆
0x0320…0340 6f 20 6c 61 72 67 65 20 6f 72 20 66 72 6f 6d 20 6c 61 72 67 65 0a 20 20 20 20 20 74 6f 20 73 6d   ┆o large or from large      to sm┆
0x0340…0360 61 6c 6c 20 63 6f 6c 75 6d 6e 20 6e 75 6d 62 65 72 73 2e 20 20 49 66 20 79 6f 75 20 64 6f 6e 27   ┆all column numbers.  If you don'┆
0x0360…0380 74 20 73 75 70 70 6c 79 20 63 6f 6c 75 6d 6e 73 20 74 6f 20 73 6f 72 74 20 77 69 74 68 2c 0a 20   ┆t supply columns to sort with,  ┆
0x0380…03a0 20 20 20 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 75 73 65 73 20 63 6f 6c 75 6d 6e 20   ┆    _ d_ s_ o_ r_ t uses column ┆
0x03a0…03c0 31 2c 20 74 68 65 6e 20 32 2c 20 74 68 65 6e 20 33 2c 20 61 6e 64 20 73 6f 20 6f 6e 2c 20 75 6e   ┆1, then 2, then 3, and so on, un┆
0x03c0…03e0 74 69 6c 20 69 74 20 66 69 6e 64 73 20 61 0a 20 20 20 20 20 64 69 66 66 65 72 65 6e 63 65 2c 20   ┆til it finds a      difference, ┆
0x03e0…0400 6f 72 20 61 6c 6c 20 63 6f 6c 75 6d 6e 73 20 61 72 65 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 59   ┆or all columns are used.       Y┆
0x0400…0420 6f 75 20 63 61 6e 20 73 75 70 70 6c 79 20 74 68 65 20 6d 65 74 68 6f 64 20 66 6f 72 20 63 6f 6d   ┆ou can supply the method for com┆
0x0420…0440 70 61 72 69 6e 67 20 63 6f 6c 75 6d 6e 20 76 61 6c 75 65 73 3a 20 61 2c 20 66 6f 72 0a 20 20 20   ┆paring column values: a, for    ┆
0x0440…0460 20 20 61 6c 70 68 61 62 65 74 69 63 61 6c 2c 20 69 2c 20 66 6f 72 20 69 6e 74 65 67 65 72 2c 20   ┆  alphabetical, i, for integer, ┆
0x0460…0480 6e 2c 20 66 6f 72 20 6d 6f 73 74 20 6f 74 68 65 72 20 6e 75 6d 62 65 72 73 2c 20 69 6e 63 6c 75   ┆n, for most other numbers, inclu┆
0x0480…04a0 64 69 6e 67 0a 20 20 20 20 20 74 68 6f 73 65 20 77 69 74 68 20 64 65 63 69 6d 61 6c 20 70 6f 69   ┆ding      those with decimal poi┆
0x04a0…04c0 6e 74 73 2c 20 6f 72 20 65 2c 20 66 6f 72 20 73 6f 72 74 69 6e 67 20 61 6c 6c 20 74 79 70 65 73   ┆nts, or e, for sorting all types┆
0x04c0…04e0 20 6f 66 20 6e 75 6d 62 65 72 73 2c 0a 20 20 20 20 20 65 76 65 6e 20 6f 6e 65 73 20 77 69 74 68   ┆ of numbers,      even ones with┆
0x04e0…0500 20 65 78 70 6f 6e 65 6e 74 69 61 6c 20 73 63 69 65 6e 74 69 66 69 63 20 6e 6f 74 61 74 69 6f 6e   ┆ exponential scientific notation┆
0x0500…0520 2e 20 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 73 75 70 70 6c 79 0a 20 20 20 20 20 74 68 65   ┆.  If you do not supply      the┆
0x0520…0540 20 74 79 70 65 20 6f 66 20 73 6f 72 74 2c 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 63   ┆ type of sort, _ d_ s_ o_ r_ t c┆
0x0540…0560 68 6f 6f 73 65 73 20 74 68 65 20 6f 6e 65 20 74 68 61 74 20 69 73 20 62 65 73 74 20 73 75 69 74   ┆hooses the one that is best suit┆
0x0560…0580 65 64 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 64 61 74 61 2c 20 61 6c 74 68 6f 75 67 68 20 74   ┆ed for the      data, although t┆
0x0580…05a0 68 69 73 20 6d 61 6b 65 73 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 64 6f 20 73 6f 6d   ┆his makes _ d_ s_ o_ r_ t do som┆
0x05a0…05c0 65 20 65 78 74 72 61 20 77 6f 72 6b 2e 20 20 46 6f 72 20 61 6c 70 68 61 62 65 74 69 63 61 6c 0a   ┆e extra work.  For alphabetical ┆
0x05c0…05e0 20 20 20 20 20 73 6f 72 74 73 2c 20 79 6f 75 20 63 61 6e 20 72 65 71 75 65 73 74 20 61 20 63 61   ┆     sorts, you can request a ca┆
0x05e0…0600 73 65 2d 69 6e 73 65 6e 73 69 74 69 76 65 20 73 6f 72 74 20 77 69 74 68 20 63 3b 20 74 68 61 74   ┆se-insensitive sort with c; that┆
0x0600…0620 20 77 6f 75 6c 64 20 6d 61 6b 65 0a 20 20 20 20 20 5f 08 68 5f 08 65 5f 08 6c 5f 08 6c 5f 08 6f   ┆ would make      _ h_ e_ l_ l_ o┆
0x0620…0640 20 6d 61 74 63 68 20 5f 08 48 5f 08 65 5f 08 6c 5f 08 6c 5f 08 6f 20 61 6e 64 20 5f 08 48 5f 08   ┆ match _ H_ e_ l_ l_ o and _ H_ ┆
0x0640…0660 45 5f 08 4c 5f 08 4c 5f 08 4f 2e 20 59 6f 75 20 63 61 6e 20 72 65 76 65 72 73 65 20 74 68 65 20   ┆E_ L_ L_ O. You can reverse the ┆
0x0660…0680 73 6f 72 74 20 66 72 6f 6d 20 74 68 65 20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 61 73 63 65 6e   ┆sort from the default      ascen┆
0x0680…06a0 64 69 6e 67 20 6f 72 64 65 72 20 74 6f 20 64 65 73 63 65 6e 64 69 6e 67 20 6f 72 64 65 72 20 77   ┆ding order to descending order w┆
0x06a0…06c0 69 74 68 20 72 2e 20 54 68 65 73 65 20 73 6f 72 74 69 6e 67 20 74 79 70 65 73 20 63 61 6e 20 62   ┆ith r. These sorting types can b┆
0x06c0…06e0 65 0a 20 20 20 20 20 73 70 65 63 69 66 69 65 64 20 67 6c 6f 62 61 6c 6c 79 20 66 6f 72 20 61 6c   ┆e      specified globally for al┆
0x06e0…0700 6c 20 63 6f 6c 75 6d 6e 73 20 61 74 20 6f 6e 63 65 20 77 69 74 68 20 63 6f 6d 6d 61 6e 64 20 6c   ┆l columns at once with command l┆
0x0700…0720 69 6e 65 20 6f 70 74 69 6f 6e 73 2e 0a 20 20 20 20 20 47 6c 6f 62 61 6c 20 74 79 70 65 73 20 63   ┆ine options.      Global types c┆
0x0720…0740 61 6e 20 62 65 20 6f 76 65 72 2d 72 69 64 64 65 6e 20 62 79 20 73 75 70 70 6c 79 69 6e 67 20 6f   ┆an be over-ridden by supplying o┆
0x0740…0760 70 74 69 6f 6e 73 20 66 6f 72 20 73 70 65 63 69 66 69 63 0a 20 20 20 20 20 63 6f 6c 75 6d 6e 73   ┆ptions for specific      columns┆
0x0760…0780 20 6f 72 20 72 61 6e 67 65 73 20 6f 66 20 63 6f 6c 75 6d 6e 73 2e 0a 0a 4f 50 54 49 4f 4e 53 0a   ┆ or ranges of columns.  OPTIONS ┆
0x0780…07a0 20 20 20 20 20 2d 61 20 20 20 53 6f 72 74 20 66 69 65 6c 64 73 20 62 79 20 61 6c 70 68 61 62 65   ┆     -a   Sort fields by alphabe┆
0x07a0…07c0 74 69 63 20 6f 72 64 65 72 69 6e 67 20 6f 66 20 63 6f 6c 75 6d 6e 73 2e 0a 0a 20 20 20 20 20 2d   ┆tic ordering of columns.       -┆
0x07c0…07e0 63 20 20 20 55 73 65 20 61 20 63 61 73 65 2d 69 6e 73 65 6e 73 69 74 69 76 65 20 63 6f 6d 70 61   ┆c   Use a case-insensitive compa┆
0x07e0…0800 72 69 73 6f 6e 20 66 6f 72 20 61 6c 70 68 61 62 65 74 69 63 20 63 6f 6d 70 61 72 69 73 6f 6e 73   ┆rison for alphabetic comparisons┆
0x0800…0820 2e 0a 20 20 20 20 20 20 20 20 20 20 57 68 65 6e 20 75 73 65 64 20 61 73 20 61 20 74 79 70 65 20   ┆.           When used as a type ┆
0x0820…0840 6d 6f 64 69 66 69 65 72 20 66 6f 72 20 61 20 73 70 65 63 69 66 69 63 20 72 61 6e 67 65 20 6f 66   ┆modifier for a specific range of┆
0x0840…0860 20 63 6f 6c 75 6d 6e 73 2c 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 20 61 6c 73 6f 20 66 6f   ┆ columns,           this also fo┆
0x0860…0880 72 63 65 73 20 61 6c 70 68 61 62 65 74 69 63 20 73 6f 72 74 69 6e 67 2e 20 20 41 73 20 61 20 63   ┆rces alphabetic sorting.  As a c┆
0x0880…08a0 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 6f 70 74 69 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 69 74   ┆ommand line option,           it┆
0x08a0…08c0 20 6f 6e 6c 79 20 6d 6f 64 69 66 69 65 73 20 74 68 65 20 73 6f 72 74 69 6e 67 20 6f 66 20 61 6c   ┆ only modifies the sorting of al┆
0x08c0…08e0 70 68 61 62 65 74 69 63 20 63 6f 6c 75 6d 6e 73 2e 0a 0a 20 20 20 20 20 2d 65 20 20 20 53 6f 72   ┆phabetic columns.       -e   Sor┆
0x08e0…0900 74 20 66 69 65 6c 64 73 20 62 79 20 65 78 70 6f 6e 65 6e 74 69 61 6c 20 6e 6f 74 61 74 69 6f 6e   ┆t fields by exponential notation┆
0x0900…0920 20 6f 72 64 65 72 69 6e 67 20 6f 66 20 63 6f 6c 75 6d 6e 73 2e 20 20 54 68 69 73 20 69 73 0a 20   ┆ ordering of columns.  This is  ┆
0x0920…0940 20 20 20 20 20 20 20 20 20 74 68 65 20 6f 6e 6c 79 20 74 72 75 65 20 6e 75 6d 65 72 69 63 20 73   ┆         the only true numeric s┆
0x0940…0960 6f 72 74 20 74 68 61 74 20 77 6f 72 6b 73 20 66 6f 72 20 61 6c 6c 20 6e 75 6d 62 65 72 73 3a 20   ┆ort that works for all numbers: ┆
0x0960…0980 69 6e 74 65 67 65 72 73 2c 0a 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 73 20 77 69 74 68   ┆integers,           numbers with┆
0x0980…09a0 20 64 65 63 69 6d 61 6c 20 70 6f 69 6e 74 73 2c 20 61 6e 64 20 65 78 70 6f 6e 65 6e 74 69 61 6c   ┆ decimal points, and exponential┆
0x09a0…09c0 20 28 73 63 69 65 6e 74 69 66 69 63 29 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 74 61 74 69 6f 6e   ┆ (scientific)           notation┆
0x09c0…09e0 20 6e 75 6d 62 65 72 73 2e 20 20 42 75 74 20 69 74 20 69 73 20 61 20 6c 6f 74 20 73 6c 6f 77 65   ┆ numbers.  But it is a lot slowe┆
0x09e0…0a00 72 20 74 68 61 6e 20 74 68 65 20 6f 74 68 65 72 20 73 6f 72 74 69 6e 67 0a 20 20 20 20 20 20 20   ┆r than the other sorting        ┆
0x0a00…0a20 20 20 20 6f 70 74 69 6f 6e 73 2c 20 65 73 70 65 63 69 61 6c 6c 79 20 6f 6e 20 6d 61 63 68 69 6e   ┆   options, especially on machin┆
0x0a20…0a40 65 73 20 77 69 74 68 6f 75 74 20 66 6c 6f 61 74 69 6e 67 20 70 6f 69 6e 74 20 68 61 72 64 77 61   ┆es without floating point hardwa┆
0x0a40…0a60 72 65 2e 0a 0a 20 20 20 20 20 2d 69 20 20 20 53 6f 72 74 20 66 69 65 6c 64 73 20 62 79 20 69 6e   ┆re.       -i   Sort fields by in┆
0x0a60…0a80 74 65 67 65 72 20 6f 72 64 65 72 69 6e 67 20 6f 66 20 63 6f 6c 75 6d 6e 73 2e 0a 0a 20 20 20 20   ┆teger ordering of columns.      ┆
0x0a80…0aa0 20 2d 6c 20 6c 69 6e 65 73 0a 20 20 20 20 20 20 20 20 20 20 53 65 74 20 74 68 65 20 6d 61 78 69   ┆ -l lines           Set the maxi┆
0x0aa0…0ac0 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 6c 69 6e 65 73 20 74 6f 20 62 65 20 72 65 61 64 2e 0a   ┆mum number of lines to be read. ┆
0x0ac0…0ae0 0a 20 20 20 20 20 2d 6e 20 20 20 53 6f 72 74 20 66 69 65 6c 64 73 20 62 79 20 73 70 65 63 69 61   ┆      -n   Sort fields by specia┆
0x0ae0…0b00 6c 20 6e 75 6d 65 72 69 63 20 6f 72 64 65 72 69 6e 67 20 6f 66 20 63 6f 6c 75 6d 6e 73 2e 20 20   ┆l numeric ordering of columns.  ┆
0x0b00…0b20 4e 75 6d 62 65 72 73 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 64 65 63 69 6d 61 6c 20 70   ┆Numbers with           decimal p┆
0x0b20…0b40 6f 69 6e 74 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 2c 20 61 6e 64 20 63 6f 6d 70 61 72 65 64 20   ┆oints are allowed, and compared ┆
0x0b40…0b60 62 79 20 61 20 73 70 65 63 69 61 6c 20 66 61 73 74 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70   ┆by a special fast           comp┆
0x0b60…0b80 61 72 69 73 6f 6e 20 6d 65 74 68 6f 64 20 74 68 61 74 20 69 73 20 61 6c 6d 6f 73 74 20 61 73 20   ┆arison method that is almost as ┆
0x0b80…0ba0 66 61 73 74 20 61 73 20 69 6e 74 65 67 65 72 20 73 6f 72 74 69 6e 67 2e 0a 0a 20 20 20 20 20 2d   ┆fast as integer sorting.       -┆
0x0ba0…0bc0 72 20 20 20 52 65 76 65 72 73 65 20 74 68 65 20 6f 72 64 65 72 20 6f 66 20 63 6f 6d 70 61 72 69   ┆r   Reverse the order of compari┆
0x0bc0…0be0 73 6f 6e 20 66 6f 72 20 73 6f 72 74 69 6e 67 20 6f 70 74 69 6f 6e 73 2e 0a 0a 45 58 41 4d 50 4c   ┆son for sorting options.  EXAMPL┆
0x0be0…0c00 45 53 0a 20 20 20 20 20 53 75 70 70 6f 73 65 20 74 68 65 20 66 69 6c 65 20 5f 08 65 5f 08 78 2e   ┆ES      Suppose the file _ e_ x.┆
0x0c00…0c20 5f 08 64 5f 08 61 5f 08 74 20 68 61 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 62 65 6c 6f 77   ┆_ d_ a_ t has the contents below┆
0x0c20…0c40 2e 20 20 49 66 20 79 6f 75 20 64 69 64 20 6e 6f 74 0a 20 20 20 20 20 73 70 65 63 69 66 79 20 63   ┆.  If you did not      specify c┆
0x0c40…0c60 6f 6c 75 6d 6e 20 74 79 70 65 73 2c 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 77 6f 75   ┆olumn types, _ d_ s_ o_ r_ t wou┆
0x0c60…0c80 6c 64 20 69 6e 66 65 72 20 74 68 61 74 20 63 6f 6c 75 6d 6e 73 20 31 20 61 6e 64 20 32 20 77 65   ┆ld infer that columns 1 and 2 we┆
0x0c80…0ca0 72 65 20 74 6f 0a 20 20 20 20 20 62 65 20 73 6f 72 74 65 64 20 61 6c 70 68 61 62 65 74 69 63 61   ┆re to      be sorted alphabetica┆
0x0ca0…0cc0 6c 6c 79 2c 20 63 6f 6c 75 6d 6e 20 33 2c 20 61 73 20 69 6e 74 65 67 65 72 73 2c 20 61 6e 64 20   ┆lly, column 3, as integers, and ┆
0x0cc0…0ce0 63 6f 6c 75 6d 6e 20 34 2c 0a 20 20 20 20 20 6e 75 6d 65 72 69 63 61 6c 6c 79 2e 0a 0a 20 20 20   ┆column 4,      numerically.     ┆
0x0ce0…0d00 20 20 5f 08 65 5f 08 78 2e 5f 08 64 5f 08 61 5f 08 74 20 20 20 23 20 66 69 6c 65 20 77 69 74 68   ┆  _ e_ x._ d_ a_ t   # file with┆
0x0d00…0d20 20 66 6f 75 72 20 63 6f 6c 75 6d 6e 73 20 28 61 6c 70 68 61 2c 20 61 6c 70 68 61 2c 20 69 6e 74   ┆ four columns (alpha, alpha, int┆
0x0d20…0d40 65 67 65 72 2c 20 6e 75 6d 65 72 69 63 61 6c 29 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20   ┆eger, numerical)      red       ┆
0x0d40…0d60 68 69 67 68 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20 20 20 62 6c   ┆high      1         3.14      bl┆
0x0d60…0d80 75 65 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20 31 2e 36 32   ┆ue      low       2         1.62┆
0x0d80…0da0 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20 20 20   ┆      green     high      6     ┆
0x0da0…0dc0 20 20 20 20 32 2e 35 34 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 6c 6f 77 20 20 20 20 20   ┆    2.54      green     low     ┆
0x0dc0…0de0 20 20 34 20 20 20 20 20 20 20 20 20 32 2e 37 31 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20   ┆  4         2.71      blue      ┆
0x0de0…0e00 68 69 67 68 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 72 65 64 20 20   ┆high      3         1      red  ┆
0x0e00…0e20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 31 0a 0a 20 20 20 20   ┆     low       5         1      ┆
0x0e20…0e40 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 20 3c 20 20 5f 08 65 5f 08 78 2e 5f 08 64 5f   ┆ _ d_ s_ o_ r_ t  <  _ e_ x._ d_┆
0x0e40…0e60 08 61 5f 08 74 20 20 20 23 20 73 6f 72 74 20 62 79 20 63 6f 6c 75 6d 6e 20 31 2c 20 74 68 65 6e   ┆ a_ t   # sort by column 1, then┆
0x0e60…0e80 20 32 2c 20 74 68 65 6e 20 33 2c 20 74 68 65 6e 20 34 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20   ┆ 2, then 3, then 4      blue    ┆
0x0e80…0ea0 20 20 68 69 67 68 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 62 6c 75   ┆  high      3         1      blu┆
0x0ea0…0ec0 65 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20 31 2e 36 32 0a   ┆e      low       2         1.62 ┆
0x0ec0…0ee0 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20 20 20 20   ┆     green     high      6      ┆
0x0ee0…0f00 20 20 20 32 2e 35 34 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20   ┆   2.54      green     low      ┆
0x0f00…0f20 20 34 20 20 20 20 20 20 20 20 20 32 2e 37 31 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20 68   ┆ 4         2.71      red       h┆
0x0f20…0f40 69 67 68 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20 20 20 72 65 64   ┆igh      1         3.14      red┆
0x0f40…0f60 20 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 31 0a 0a 20 20   ┆       low       5         1    ┆
0x0f60…0f80 20 20 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 20 5f 08 69 5f 08 33 20 20 3c 20 20 5f   ┆   _ d_ s_ o_ r_ t  _ i_ 3  <  _┆
0x0f80…0fa0 08 65 5f 08 78 2e 5f 08 64 5f 08 61 5f 08 74 20 20 20 23 20 73 6f 72 74 20 63 6f 6c 75 6d 6e 20   ┆ e_ x._ d_ a_ t   # sort column ┆
0x0fa0…0fc0 33 20 69 6e 20 61 73 63 65 6e 64 69 6e 67 20 6f 72 64 65 72 0a 20 20 20 20 20 72 65 64 20 20 20   ┆3 in ascending order      red   ┆
0x0fc0…0fe0 20 20 20 20 68 69 67 68 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20   ┆    high      1         3.14    ┆
0x0fe0…1000 20 20 62 6c 75 65 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20   ┆  blue      low       2         ┆
0x1000…1020 31 2e 36 32 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 33 20   ┆1.62      blue      high      3 ┆
0x1020…1040 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 6c 6f 77 20 20 20 20   ┆        1      green     low    ┆
0x1040…1060 20 20 20 34 20 20 20 20 20 20 20 20 20 32 2e 37 31 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20   ┆   4         2.71      red      ┆
0x1060…1080 20 6c 6f 77 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 67 72 65 65   ┆ low       5         1      gree┆
0x1080…10a0 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20 20 20 20 20 20 20 32 2e 35 34 0a 0a   ┆n     high      6         2.54  ┆
0x10a0…10c0 20 20 20 20 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 20 5f 08 72 5f 08 6e 5f 08 34 20   ┆     _ d_ s_ o_ r_ t  _ r_ n_ 4 ┆
0x10c0…10e0 20 5f 08 33 20 20 3c 20 20 5f 08 65 5f 08 78 2e 5f 08 64 5f 08 61 5f 08 74 20 20 20 23 20 6e 75   ┆ _ 3  <  _ e_ x._ d_ a_ t   # nu┆
0x10e0…1100 6d 65 72 69 63 61 6c 6c 79 20 73 6f 72 74 20 63 6f 6c 75 6d 6e 20 34 20 69 6e 20 72 65 76 65 72   ┆merically sort column 4 in rever┆
0x1100…1120 73 65 20 6f 72 64 65 72 2c 20 74 68 65 6e 20 33 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20   ┆se order, then 3      red       ┆
0x1120…1140 68 69 67 68 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20 20 20 67 72   ┆high      1         3.14      gr┆
0x1140…1160 65 65 6e 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 34 20 20 20 20 20 20 20 20 20 32 2e 37 31   ┆een     low       4         2.71┆
0x1160…1180 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20 20 20   ┆      green     high      6     ┆
0x1180…11a0 20 20 20 20 32 2e 35 34 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20   ┆    2.54      blue      low     ┆
0x11a0…11c0 20 20 32 20 20 20 20 20 20 20 20 20 31 2e 36 32 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20   ┆  2         1.62      blue      ┆
0x11c0…11e0 68 69 67 68 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 72 65 64 20 20   ┆high      3         1      red  ┆
0x11e0…1200 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 31 0a 0a 20 20 20 20   ┆     low       5         1      ┆
0x1200…1220 20 5f 08 64 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 20 5f 08 72 5f 08 6e 5f 08 34 20 20 5f 08 72   ┆ _ d_ s_ o_ r_ t  _ r_ n_ 4  _ r┆
0x1220…1240 5f 08 33 20 20 3c 20 20 5f 08 65 5f 08 78 2e 5f 08 64 5f 08 61 5f 08 74 20 20 20 23 20 72 65 76   ┆_ 3  <  _ e_ x._ d_ a_ t   # rev┆
0x1240…1260 65 72 73 65 20 6e 75 6d 65 72 69 63 61 6c 20 73 6f 72 74 20 6f 66 20 63 6f 6c 75 6d 6e 20 34 20   ┆erse numerical sort of column 4 ┆
0x1260…1280 61 6e 64 20 74 68 65 6e 20 33 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20 68 69 67 68 20 20   ┆and then 3      red       high  ┆
0x1280…12a0 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20   ┆    1         3.14      green   ┆
0x12a0…12c0 20 20 6c 6f 77 20 20 20 20 20 20 20 34 20 20 20 20 20 20 20 20 20 32 2e 37 31 0a 20 20 20 20 20   ┆  low       4         2.71      ┆
0x12c0…12e0 67 72 65 65 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20 20 20 20 20 20 20 32 2e   ┆green     high      6         2.┆
0x12e0…1300 35 34 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 32 20 20 20   ┆54      blue      low       2   ┆
0x1300…1320 20 20 20 20 20 20 31 2e 36 32 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20 6c 6f 77 20 20 20   ┆      1.62      red       low   ┆
0x1320…1340 20 20 20 20 35 20 20 20 20 20 20 20 20 20 31 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20 20 20 68   ┆    5         1      blue      h┆
0x1340…1360 69 67 68 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 31 0a 0a 20 20 20 20 20 5f 08 64 5f 08   ┆igh      3         1       _ d_ ┆
0x1360…1380 73 5f 08 6f 5f 08 72 5f 08 74 20 20 5f 08 32 2d 5f 08 31 20 20 3c 20 20 5f 08 65 5f 08 78 2e 5f   ┆s_ o_ r_ t  _ 2-_ 1  <  _ e_ x._┆
0x1380…13a0 08 64 5f 08 61 5f 08 74 20 20 20 23 20 73 6f 72 74 20 62 79 20 63 6f 6c 75 6d 6e 20 32 2c 20 74   ┆ d_ a_ t   # sort by column 2, t┆
0x13a0…13c0 68 65 6e 20 63 6f 6c 75 6d 6e 20 31 20 77 69 74 68 69 6e 20 74 69 65 73 20 69 6e 20 32 0a 20 20   ┆hen column 1 within ties in 2   ┆
0x13c0…13e0 20 20 20 62 6c 75 65 20 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20   ┆   blue      high      3        ┆
0x13e0…1400 20 31 0a 20 20 20 20 20 67 72 65 65 6e 20 20 20 20 20 68 69 67 68 20 20 20 20 20 20 36 20 20 20   ┆ 1      green     high      6   ┆
0x1400…1420 20 20 20 20 20 20 32 2e 35 34 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20 68 69 67 68 20 20   ┆      2.54      red       high  ┆
0x1420…1440 20 20 20 20 31 20 20 20 20 20 20 20 20 20 33 2e 31 34 0a 20 20 20 20 20 62 6c 75 65 20 20 20 20   ┆    1         3.14      blue    ┆
0x1440…1460 20 20 6c 6f 77 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20 31 2e 36 32 0a 20 20 20 20 20   ┆  low       2         1.62      ┆
0x1460…1480 67 72 65 65 6e 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 34 20 20 20 20 20 20 20 20 20 32 2e   ┆green     low       4         2.┆
0x1480…14a0 37 31 0a 20 20 20 20 20 72 65 64 20 20 20 20 20 20 20 6c 6f 77 20 20 20 20 20 20 20 35 20 20 20   ┆71      red       low       5   ┆
0x14a0…14c0 20 20 20 20 20 20 31 0a 0a 4c 49 4d 49 54 53 0a 20 20 20 20 20 55 73 65 20 74 68 65 20 2d 4c 20   ┆      1  LIMITS      Use the -L ┆
0x14c0…14e0 6f 70 74 69 6f 6e 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 70 72 6f 67 72 61 6d 20   ┆option to determine the program ┆
0x14e0…14e8 6c 69 6d 69 74 73 2e 0a   ┆limits. ┆