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: ┃ p

⟦de71c50fa⟧

    Length: 1713 (0x6b1)
    Names: »perm.man«

Derivation

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

Hex Dump

0x000…020 50 45 52 4d 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 20   ┆PERM(1)                         ┆
0x020…040 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 20 20   ┆   |STAT                        ┆
0x040…060 20 20 20 4d 61 79 20 31 39 38 36 0a 0a 4e 41 4d 45 0a 20 20 20 20 20 70 65 72 6d 20 2d 20 70 65   ┆   May 1986  NAME      perm - pe┆
0x060…080 72 6d 75 74 65 20 6c 69 6e 65 20 6f 72 64 65 72 0a 0a 53 59 4e 4f 50 53 49 53 0a 20 20 20 20 20   ┆rmute line order  SYNOPSIS      ┆
0x080…0a0 70 65 72 6d 20 5b 2d 61 20 7c 20 2d 63 20 7c 20 2d 65 20 7c 20 2d 69 20 7c 20 2d 6e 5d 20 5b 2d   ┆perm [-a | -c | -e | -i | -n] [-┆
0x0a0…0c0 72 5d 20 5b 2d 6c 20 6c 69 6e 65 73 5d 20 5b 2d 73 20 73 65 65 64 5d 0a 0a 44 45 53 43 52 49 50   ┆r] [-l lines] [-s seed]  DESCRIP┆
0x0c0…0e0 54 49 4f 4e 0a 20 20 20 20 20 5f 08 70 5f 08 65 5f 08 72 5f 08 6d 20 72 65 61 64 73 20 6c 69 6e   ┆TION      _ p_ e_ r_ m reads lin┆
0x0e0…100 65 73 20 66 72 6f 6d 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 20 61 6e 64 20 70   ┆es from the standard input and p┆
0x100…120 72 69 6e 74 73 20 74 68 65 6d 20 69 6e 20 70 65 72 6d 75 74 65 64 0a 20 20 20 20 20 6f 72 64 65   ┆rints them in permuted      orde┆
0x120…140 72 2e 20 20 42 79 20 64 65 66 61 75 6c 74 2c 20 74 68 69 73 20 6f 72 64 65 72 20 69 73 20 72 61   ┆r.  By default, this order is ra┆
0x140…160 6e 64 6f 6d 2c 20 62 75 74 20 74 68 65 20 6f 72 64 65 72 20 63 61 6e 20 62 65 20 73 6f 72 74 65   ┆ndom, but the order can be sorte┆
0x160…180 64 0a 20 20 20 20 20 6e 75 6d 65 72 69 63 61 6c 6c 79 20 6f 72 20 61 6c 70 68 61 62 65 74 69 63   ┆d      numerically or alphabetic┆
0x180…1a0 61 6c 6c 79 20 77 69 74 68 20 6f 70 74 69 6f 6e 73 2e 0a 0a 4f 50 54 49 4f 4e 53 0a 20 20 20 20   ┆ally with options.  OPTIONS     ┆
0x1a0…1c0 20 2d 61 20 20 20 53 6f 72 74 20 6c 69 6e 65 73 20 62 79 20 61 6c 70 68 61 62 65 74 69 63 20 6f   ┆ -a   Sort lines by alphabetic o┆
0x1c0…1e0 72 64 65 72 69 6e 67 2e 20 20 49 6e 69 74 69 61 6c 20 62 6c 61 6e 6b 20 73 70 61 63 65 20 69 73   ┆rdering.  Initial blank space is┆
0x1e0…200 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 2d 63   ┆ not           ignored.       -c┆
0x200…220 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 72   ┆   Use a case-insensitive compar┆
0x220…240 69 73 6f 6e 20 61 6e 64 20 73 6f 72 74 20 62 79 20 61 6c 70 68 61 62 65 74 69 63 0a 20 20 20 20   ┆ison and sort by alphabetic     ┆
0x240…260 20 20 20 20 20 20 6f 72 64 65 72 69 6e 67 2e 0a 0a 20 20 20 20 20 2d 65 20 20 20 53 6f 72 74 20   ┆      ordering.       -e   Sort ┆
0x260…280 6c 69 6e 65 73 20 62 79 20 65 78 70 6f 6e 65 6e 74 69 61 6c 20 28 73 63 69 65 6e 74 69 66 69 63   ┆lines by exponential (scientific┆
0x280…2a0 29 20 6e 6f 74 61 74 69 6f 6e 20 6f 72 64 65 72 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 49   ┆) notation ordering.           I┆
0x2a0…2c0 6e 69 74 69 61 6c 20 62 6c 61 6e 6b 20 73 70 61 63 65 20 69 73 20 69 67 6e 6f 72 65 64 2e 20 20   ┆nitial blank space is ignored.  ┆
0x2c0…2e0 54 68 69 73 20 6d 65 74 68 6f 64 20 64 6f 65 73 20 74 72 75 65 20 6e 75 6d 65 72 69 63 61 6c 0a   ┆This method does true numerical ┆
0x2e0…300 20 20 20 20 20 20 20 20 20 20 73 6f 72 74 69 6e 67 20 66 6f 72 20 61 6c 6c 20 6e 75 6d 62 65 72   ┆          sorting for all number┆
0x300…320 73 2c 20 62 75 74 20 69 73 20 6d 75 63 68 20 73 6c 6f 77 65 72 20 74 68 61 6e 20 69 6e 74 65 67   ┆s, but is much slower than integ┆
0x320…340 65 72 20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 6e 75 6d 65 72 69 63 61 6c 20 73 6f 72 74 69 6e   ┆er or           numerical sortin┆
0x340…360 67 2e 0a 0a 20 20 20 20 20 2d 69 20 20 20 53 6f 72 74 20 6c 69 6e 65 73 20 62 79 20 69 6e 74 65   ┆g.       -i   Sort lines by inte┆
0x360…380 67 65 72 20 6f 72 64 65 72 69 6e 67 2e 20 20 49 6e 69 74 69 61 6c 20 62 6c 61 6e 6b 20 73 70 61   ┆ger ordering.  Initial blank spa┆
0x380…3a0 63 65 20 69 73 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 2d 6c 20 6c 69 6e 65 73 0a 20 20   ┆ce is ignored.       -l lines   ┆
0x3a0…3c0 20 20 20 20 20 20 20 20 53 65 74 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f   ┆        Set the maximum number o┆
0x3c0…3e0 66 20 6c 69 6e 65 73 20 74 6f 20 62 65 20 72 65 61 64 2e 0a 0a 20 20 20 20 20 2d 6e 20 20 20 53   ┆f lines to be read.       -n   S┆
0x3e0…400 6f 72 74 20 6c 69 6e 65 73 20 62 79 20 73 70 65 63 69 61 6c 20 6e 75 6d 65 72 69 63 20 6f 72 64   ┆ort lines by special numeric ord┆
0x400…420 65 72 69 6e 67 2e 20 20 4e 75 6d 62 65 72 73 20 77 69 74 68 20 64 65 63 69 6d 61 6c 0a 20 20 20   ┆ering.  Numbers with decimal    ┆
0x420…440 20 20 20 20 20 20 20 70 6f 69 6e 74 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 2c 20 61 6e 64 20 63   ┆       points are allowed, and c┆
0x440…460 6f 6d 70 61 72 65 64 20 62 79 20 61 20 73 70 65 63 69 61 6c 20 66 61 73 74 20 73 6f 72 74 69 6e   ┆ompared by a special fast sortin┆
0x460…480 67 0a 20 20 20 20 20 20 20 20 20 20 61 6c 67 6f 72 69 74 68 6d 20 74 68 61 74 20 69 73 20 61 6c   ┆g           algorithm that is al┆
0x480…4a0 6d 6f 73 74 20 61 73 20 66 61 73 74 20 61 73 20 69 6e 74 65 67 65 72 20 73 6f 72 74 69 6e 67 2e   ┆most as fast as integer sorting.┆
0x4a0…4c0 0a 0a 20 20 20 20 20 2d 72 20 20 20 52 65 76 65 72 73 65 20 74 68 65 20 6f 72 64 65 72 20 6f 66   ┆       -r   Reverse the order of┆
0x4c0…4e0 20 63 6f 6d 70 61 72 69 73 6f 6e 20 66 6f 72 20 73 6f 72 74 69 6e 67 20 6f 70 74 69 6f 6e 73 2e   ┆ comparison for sorting options.┆
0x4e0…500 0a 0a 20 20 20 20 20 2d 73 20 73 65 65 64 0a 20 20 20 20 20 20 20 20 20 20 50 72 6f 76 69 64 65   ┆       -s seed           Provide┆
0x500…520 20 61 6e 20 69 6e 74 65 67 65 72 20 73 65 65 64 20 66 6f 72 20 74 68 65 20 72 61 6e 64 6f 6d 20   ┆ an integer seed for the random ┆
0x520…540 6e 75 6d 62 65 72 20 67 65 6e 65 72 61 74 6f 72 2e 0a 20 20 20 20 20 20 20 20 20 20 4f 74 68 65   ┆number generator.           Othe┆
0x540…560 72 77 69 73 65 2c 20 74 68 65 20 73 65 65 64 69 6e 67 20 69 73 20 64 6f 6e 65 20 77 69 74 68 20   ┆rwise, the seeding is done with ┆
0x560…580 74 68 65 20 70 72 6f 63 65 73 73 20 6e 75 6d 62 65 72 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20   ┆the process number and the      ┆
0x580…5a0 20 20 20 20 20 74 69 6d 65 2c 20 6f 72 2c 20 6f 6e 20 73 6f 6d 65 20 73 79 73 74 65 6d 73 2c 20   ┆     time, or, on some systems, ┆
0x5a0…5c0 62 79 20 70 72 6f 6d 70 74 69 6e 67 20 66 6f 72 20 61 20 73 65 65 64 2e 0a 0a 4e 4f 54 45 53 0a   ┆by prompting for a seed.  NOTES ┆
0x5c0…5e0 20 20 20 20 20 54 68 65 20 70 72 6f 67 72 61 6d 20 64 75 70 6c 69 63 61 74 65 73 20 73 6f 6d 65   ┆     The program duplicates some┆
0x5e0…600 20 6f 66 20 74 68 65 20 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 70 72 6f 67 72 61 6d 27 73 20 66   ┆ of the _ s_ o_ r_ t program's f┆
0x600…620 75 6e 63 74 69 6f 6e 73 2c 20 62 75 74 0a 20 20 20 20 20 70 72 6f 76 69 64 65 73 20 74 72 75 65   ┆unctions, but      provides true┆
0x620…640 20 6e 75 6d 65 72 69 63 61 6c 20 73 6f 72 74 69 6e 67 20 66 6f 72 20 4d 53 44 4f 53 20 77 68 6f   ┆ numerical sorting for MSDOS who┆
0x640…660 73 65 20 5f 08 73 5f 08 6f 5f 08 72 5f 08 74 20 6f 6e 6c 79 20 64 6f 65 73 0a 20 20 20 20 20 61   ┆se _ s_ o_ r_ t only does      a┆
0x660…680 6c 70 68 61 62 65 74 69 63 20 73 6f 72 74 73 2e 0a 0a 4c 49 4d 49 54 53 0a 20 20 20 20 20 55 73   ┆lphabetic sorts.  LIMITS      Us┆
0x680…6a0 65 20 74 68 65 20 2d 4c 20 6f 70 74 69 6f 6e 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65   ┆e the -L option to determine the┆
0x6a0…6b1 20 70 72 6f 67 72 61 6d 20 6c 69 6d 69 74 73 2e 0a   ┆ program limits. ┆