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

⟦424feed08⟧

    Length: 2934 (0xb76)
    Names: »colex.man«

Derivation

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

Hex Dump

0x000…020 43 4f 4c 45 58 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   ┆COLEX(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 41 75 67 75   ┆   |STAT                    Augu┆
0x040…060 73 74 20 31 31 2c 20 31 39 38 36 0a 0a 4e 41 4d 45 0a 20 20 20 20 20 63 6f 6c 65 78 20 2d 20 63   ┆st 11, 1986  NAME      colex - c┆
0x060…080 6f 6c 75 6d 6e 2f 66 69 65 6c 64 20 65 78 74 72 61 63 74 69 6f 6e 2f 66 6f 72 6d 61 74 74 69 6e   ┆olumn/field extraction/formattin┆
0x080…0a0 67 0a 0a 53 59 4e 4f 50 53 49 53 0a 20 20 20 20 20 63 6f 6c 65 78 20 5b 2d 66 69 71 74 76 5d 20   ┆g  SYNOPSIS      colex [-fiqtv] ┆
0x0a0…0c0 5b 2d 46 20 66 6f 72 6d 61 74 5d 20 63 6f 6c 75 6d 6e 20 6e 75 6d 62 65 72 73 0a 0a 44 45 53 43   ┆[-F format] column numbers  DESC┆
0x0c0…0e0 52 49 50 54 49 4f 4e 0a 20 20 20 20 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 65 5f 08 78 20 65 78 74   ┆RIPTION      _ c_ o_ l_ e_ x ext┆
0x0e0…100 72 61 63 74 73 20 74 68 65 20 6e 61 6d 65 64 20 63 6f 6c 75 6d 6e 73 20 66 72 6f 6d 20 74 68 65   ┆racts the named columns from the┆
0x100…120 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 20 61 6e 64 20 70 72 69 6e 74 73 0a 20 20 20 20 20   ┆ standard input and prints      ┆
0x120…140 74 68 65 6d 20 77 69 74 68 20 74 61 62 73 20 62 65 74 77 65 65 6e 2e 20 20 43 6f 6c 75 6d 6e 20   ┆them with tabs between.  Column ┆
0x140…160 6e 75 6d 62 65 72 73 20 62 65 67 69 6e 20 77 69 74 68 20 31 2e 20 20 52 61 6e 67 65 73 20 6f 66   ┆numbers begin with 1.  Ranges of┆
0x160…180 0a 20 20 20 20 20 63 6f 6c 75 6d 6e 20 6e 75 6d 62 65 72 73 20 63 61 6e 20 62 65 20 61 62 62 72   ┆      column numbers can be abbr┆
0x180…1a0 65 76 69 61 74 65 64 20 77 69 74 68 20 61 72 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 66 6f   ┆eviated with arguments of the fo┆
0x1a0…1c0 72 6d 20 23 2d 23 0a 20 20 20 20 20 28 65 2e 67 2e 2c 20 31 32 2d 32 34 29 2e 20 20 43 6f 6c 75   ┆rm #-#      (e.g., 12-24).  Colu┆
0x1c0…1e0 6d 6e 20 72 61 6e 67 65 73 20 63 61 6e 20 62 65 20 69 6e 20 72 65 76 65 72 73 65 20 6f 72 64 65   ┆mn ranges can be in reverse orde┆
0x1e0…200 72 20 28 65 2e 67 2e 2c 20 35 2d 31 20 74 6f 0a 20 20 20 20 20 72 65 76 65 72 73 65 20 74 68 65   ┆r (e.g., 5-1 to      reverse the┆
0x200…220 20 66 69 72 73 74 20 66 69 76 65 20 63 6f 6c 75 6d 6e 73 29 2e 0a 0a 20 20 20 20 20 4f 70 74 69   ┆ first five columns).       Opti┆
0x220…240 6f 6e 61 6c 6c 79 2c 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 65 5f 08 78 20 77 69 6c 6c 20 66 6f 72   ┆onally, _ c_ o_ l_ e_ x will for┆
0x240…260 6d 61 74 20 6f 75 74 70 75 74 20 63 6f 6c 75 6d 6e 73 20 61 73 20 69 6e 74 65 67 65 72 73 2c 20   ┆mat output columns as integers, ┆
0x260…280 6e 75 6d 62 65 72 73 20 77 69 74 68 0a 20 20 20 20 20 64 65 63 69 6d 61 6c 20 70 6f 69 6e 74 73   ┆numbers with      decimal points┆
0x280…2a0 2c 20 6f 72 20 61 73 20 6e 75 6d 62 65 72 73 20 69 6e 20 65 78 70 6f 6e 65 6e 74 69 61 6c 20 28   ┆, or as numbers in exponential (┆
0x2a0…2c0 73 63 69 65 6e 74 69 66 69 63 29 20 6e 6f 74 61 74 69 6f 6e 2c 0a 20 20 20 20 20 69 6e 73 74 65   ┆scientific) notation,      inste┆
0x2c0…2e0 61 64 20 6f 66 20 74 68 65 20 64 65 66 61 75 6c 74 20 6f 66 20 70 72 69 6e 74 69 6e 67 20 74 68   ┆ad of the default of printing th┆
0x2e0…300 65 20 63 6f 6c 75 6d 6e 73 20 61 73 20 61 6c 70 68 61 62 65 74 69 63 20 66 69 65 6c 64 73 2e 0a   ┆e columns as alphabetic fields. ┆
0x300…320 20 20 20 20 20 41 20 66 6f 72 6d 61 74 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 70 72 65 63   ┆     A format specification prec┆
0x320…340 65 64 65 73 20 74 68 65 20 63 6f 6c 75 6d 6e 20 72 61 6e 67 65 20 61 6e 64 20 69 73 20 69 6e 64   ┆edes the column range and is ind┆
0x340…360 69 63 61 74 65 64 20 62 79 20 61 0a 20 20 20 20 20 73 69 6e 67 6c 65 20 6c 65 74 74 65 72 3a 20   ┆icated by a      single letter: ┆
0x360…380 61 20 28 61 6c 70 68 61 62 65 74 69 63 29 2c 20 65 20 28 65 78 70 6f 6e 65 6e 74 69 61 6c 29 2c   ┆a (alphabetic), e (exponential),┆
0x380…3a0 20 69 20 28 69 6e 74 65 67 65 72 29 2c 20 61 6e 64 20 6e 0a 20 20 20 20 20 28 6e 75 6d 65 72 69   ┆ i (integer), and n      (numeri┆
0x3a0…3c0 63 29 2e 20 20 45 61 63 68 20 66 6f 72 6d 61 74 20 63 61 6e 20 62 65 20 70 72 65 63 65 64 65 64   ┆c).  Each format can be preceded┆
0x3c0…3e0 20 62 79 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 77 69 64 74 68 20 61 6e 64 2f 6f 72 20 61 0a 20   ┆ by an optional width and/or a  ┆
0x3e0…400 20 20 20 20 70 72 65 63 69 73 69 6f 6e 2e 20 20 54 68 65 20 77 69 64 74 68 20 74 65 6c 6c 73 20   ┆    precision.  The width tells ┆
0x400…420 68 6f 77 20 77 69 64 65 20 74 68 65 20 66 69 65 6c 64 20 73 68 6f 75 6c 64 20 62 65 2e 20 20 54   ┆how wide the field should be.  T┆
0x420…440 68 65 0a 20 20 20 20 20 70 72 65 63 69 73 69 6f 6e 20 74 65 6c 6c 73 20 68 6f 77 20 6d 61 6e 79   ┆he      precision tells how many┆
0x440…460 20 64 69 67 69 74 73 20 61 66 74 65 72 20 74 68 65 20 64 65 63 69 6d 61 6c 20 70 6f 69 6e 74 20   ┆ digits after the decimal point ┆
0x460…480 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 70 72 69 6e 74 65 64 20 66 6f 72 20 72 65 61 6c 20   ┆should be      printed for real ┆
0x480…4a0 6e 75 6d 62 65 72 73 2c 20 6f 72 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 77 69 64 74 68 20 66 6f   ┆numbers, or the maximum width fo┆
0x4a0…4c0 72 20 61 6c 70 68 61 62 65 74 69 63 20 66 69 65 6c 64 73 2e 0a 20 20 20 20 20 54 68 65 20 67 65   ┆r alphabetic fields.      The ge┆
0x4c0…4e0 6e 65 72 61 6c 20 66 6f 72 6d 20 69 73 3a 0a 20 20 20 20 20 20 20 20 20 20 5b 5b 77 69 64 74 68   ┆neral form is:           [[width┆
0x4e0…500 5d 5b 2e 70 72 65 63 69 73 69 6f 6e 5d 66 6f 72 6d 61 74 5d 5b 63 6f 6c 75 6d 6e 20 72 61 6e 67   ┆][.precision]format][column rang┆
0x500…520 65 5d 0a 20 20 20 20 20 53 65 65 20 74 68 65 20 65 78 61 6d 70 6c 65 73 20 66 6f 72 20 73 69 6d   ┆e]      See the examples for sim┆
0x520…540 70 6c 65 20 63 61 73 65 73 2e 20 20 43 20 70 72 6f 67 72 61 6d 6d 65 72 73 20 77 69 6c 6c 20 72   ┆ple cases.  C programmers will r┆
0x540…560 65 63 6f 67 6e 69 7a 65 20 74 68 65 0a 20 20 20 20 20 66 6f 72 6d 61 74 20 61 73 20 74 68 61 74   ┆ecognize the      format as that┆
0x560…580 20 75 73 65 64 20 62 79 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 66 6f 72 6d 61 74 74 65 64 20   ┆ used by the standard formatted ┆
0x580…5a0 70 72 69 6e 74 69 6e 67 20 66 75 6e 63 74 69 6f 6e 73 2e 0a 0a 4f 50 54 49 4f 4e 53 0a 20 20 20   ┆printing functions.  OPTIONS    ┆
0x5a0…5c0 20 20 2d 66 20 20 20 46 6f 72 63 65 20 66 69 6c 6c 69 6e 67 20 6f 66 20 6d 69 73 73 69 6e 67 20   ┆  -f   Force filling of missing ┆
0x5c0…5e0 63 6f 6c 75 6d 6e 73 20 77 69 74 68 20 74 68 65 20 73 74 72 69 6e 67 20 4e 41 2e 0a 0a 20 20 20   ┆columns with the string NA.     ┆
0x5e0…600 20 20 2d 46 20 66 6f 72 6d 61 74 0a 20 20 20 20 20 20 20 20 20 20 42 79 20 64 65 66 61 75 6c 74   ┆  -F format           By default┆
0x600…620 2c 20 63 6f 6c 75 6d 6e 73 20 77 69 74 68 6f 75 74 20 74 79 70 65 20 73 70 65 63 69 66 69 65 72   ┆, columns without type specifier┆
0x620…640 73 20 61 72 65 20 70 72 69 6e 74 65 64 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 61 6c 70 68 61   ┆s are printed as           alpha┆
0x640…660 62 65 74 69 63 20 73 74 72 69 6e 67 73 2e 20 20 54 68 69 73 20 6f 70 74 69 6f 6e 20 63 68 61 6e   ┆betic strings.  This option chan┆
0x660…680 67 65 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 66 6f 72 20 61 6c 6c 0a 20 20 20 20 20 20 20 20   ┆ges the default for all         ┆
0x680…6a0 20 20 63 6f 6c 75 6d 6e 73 20 66 6f 72 20 77 68 69 63 68 20 74 68 65 20 66 6f 72 6d 61 74 20 69   ┆  columns for which the format i┆
0x6a0…6c0 73 20 6e 6f 74 20 65 78 70 6c 69 63 69 74 6c 79 20 73 70 65 63 69 66 69 65 64 2e 0a 0a 20 20 20   ┆s not explicitly specified.     ┆
0x6c0…6e0 20 20 2d 69 20 20 20 49 67 6e 6f 72 65 20 6d 69 73 73 69 6e 67 20 63 6f 6c 75 6d 6e 73 2e 20 20   ┆  -i   Ignore missing columns.  ┆
0x6e0…700 4f 74 68 65 72 77 69 73 65 2c 20 61 20 6d 69 73 73 69 6e 67 20 63 6f 6c 75 6d 6e 2c 20 6e 6f 74   ┆Otherwise, a missing column, not┆
0x700…720 20 66 69 6c 6c 65 64 0a 20 20 20 20 20 20 20 20 20 20 62 79 20 74 68 65 20 2d 66 20 6f 70 74 69   ┆ filled           by the -f opti┆
0x720…740 6f 6e 2c 20 69 73 20 61 6e 20 65 72 72 6f 72 2e 0a 0a 20 20 20 20 20 2d 71 20 20 20 50 6c 61 63   ┆on, is an error.       -q   Plac┆
0x740…760 65 20 71 75 6f 74 65 73 20 61 72 6f 75 6e 64 20 74 68 65 20 70 72 69 6e 74 65 64 20 73 74 72 69   ┆e quotes around the printed stri┆
0x760…780 6e 67 73 2e 0a 0a 20 20 20 20 20 2d 74 20 20 20 42 79 20 64 65 66 61 75 6c 74 2c 20 74 68 65 72   ┆ngs.       -t   By default, ther┆
0x780…7a0 65 20 69 73 20 61 20 74 61 62 20 70 72 69 6e 74 65 64 20 61 66 74 65 72 20 65 76 65 72 79 20 63   ┆e is a tab printed after every c┆
0x7a0…7c0 6f 6c 75 6d 6e 2e 20 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 20 74 75   ┆olumn.  This           option tu┆
0x7c0…7e0 72 6e 73 20 6f 66 66 20 74 68 65 20 74 61 62 20 70 72 69 6e 74 69 6e 67 2e 0a 0a 20 20 20 20 20   ┆rns off the tab printing.       ┆
0x7e0…800 2d 76 20 20 20 56 61 6c 69 64 61 74 65 20 64 61 74 61 20 74 79 70 65 73 20 69 6e 20 6e 75 6d 65   ┆-v   Validate data types in nume┆
0x800…820 72 69 63 61 6c 20 63 6f 6c 75 6d 6e 73 2e 20 20 49 66 20 61 20 6e 75 6d 65 72 69 63 61 6c 20 6f   ┆rical columns.  If a numerical o┆
0x820…840 75 74 70 75 74 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 20 69 73 20 72 65 71 75 65 73   ┆utput           format is reques┆
0x840…860 74 65 64 2c 20 76 61 6c 69 64 61 74 69 6f 6e 20 77 69 6c 6c 20 70 72 69 6e 74 20 77 61 72 6e 69   ┆ted, validation will print warni┆
0x860…880 6e 67 73 20 77 68 65 6e 20 61 20 6e 6f 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 67 65   ┆ngs when a non-           intege┆
0x880…8a0 72 20 6f 72 20 6e 6f 6e 2d 6e 75 6d 62 65 72 20 69 73 20 62 65 69 6e 67 20 70 72 69 6e 74 65 64   ┆r or non-number is being printed┆
0x8a0…8c0 20 61 73 20 61 20 6e 75 6d 62 65 72 20 28 75 73 75 61 6c 6c 79 20 61 73 0a 20 20 20 20 20 20 20   ┆ as a number (usually as        ┆
0x8c0…8e0 20 20 20 30 29 2e 20 20 42 79 20 64 65 66 61 75 6c 74 2c 20 6e 6f 20 63 68 65 63 6b 69 6e 67 20   ┆   0).  By default, no checking ┆
0x8e0…900 69 73 20 64 6f 6e 65 2e 0a 0a 45 58 41 4d 50 4c 45 53 0a 20 20 20 20 20 63 6f 6c 65 78 20 31 20   ┆is done.  EXAMPLES      colex 1 ┆
0x900…920 32 20 33 20 34 20 20 20 20 20 20 20 23 20 63 6f 6c 75 6d 6e 73 20 31 20 74 68 72 6f 75 67 68 20   ┆2 3 4       # columns 1 through ┆
0x920…940 34 0a 20 20 20 20 20 63 6f 6c 65 78 20 31 2d 34 20 20 20 20 20 20 20 20 20 20 20 23 20 61 6e 20   ┆4      colex 1-4           # an ┆
0x940…960 61 62 62 72 65 76 69 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 61 62 6f 76 65 0a 20 20 20 20 20 63   ┆abbreviation of the above      c┆
0x960…980 6f 6c 65 78 20 34 2d 31 20 20 20 20 20 20 20 20 20 20 20 23 20 63 6f 6c 75 6d 6e 73 20 34 2d 31   ┆olex 4-1           # columns 4-1┆
0x980…9a0 20 69 6e 20 72 65 76 65 72 73 65 20 6f 72 64 65 72 0a 20 20 20 20 20 63 6f 6c 65 78 20 2d 69 20   ┆ in reverse order      colex -i ┆
0x9a0…9c0 31 30 30 2d 31 20 20 20 20 20 20 23 20 72 65 76 65 72 73 65 20 74 68 65 20 63 6f 6c 75 6d 6e 73   ┆100-1      # reverse the columns┆
0x9c0…9e0 20 69 67 6e 6f 72 69 6e 67 20 6d 69 73 73 69 6e 67 20 63 6f 6c 75 6d 6e 73 0a 20 20 20 20 20 63   ┆ ignoring missing columns      c┆
0x9e0…a00 6f 6c 65 78 20 31 30 2e 32 6e 31 2d 35 20 20 20 20 20 20 23 20 63 6f 6c 75 6d 6e 73 20 31 2d 35   ┆olex 10.2n1-5      # columns 1-5┆
0xa00…a20 2c 20 31 30 2d 77 69 64 65 2c 20 77 69 74 68 20 32 20 64 69 67 69 74 73 20 61 66 74 65 72 20 64   ┆, 10-wide, with 2 digits after d┆
0xa20…a40 65 63 69 6d 61 6c 20 70 6c 61 63 65 0a 20 20 20 20 20 63 6f 6c 65 78 20 2d 46 20 31 30 2e 32 6e   ┆ecimal place      colex -F 10.2n┆
0xa40…a60 20 35 2d 32 20 20 23 20 63 6f 6c 75 6d 6e 73 20 35 2d 32 20 69 6e 20 31 30 2e 32 6e 20 66 6f 72   ┆ 5-2  # columns 5-2 in 10.2n for┆
0xa60…a80 6d 61 74 0a 20 20 20 20 20 63 6f 6c 65 78 20 34 69 31 20 35 2e 32 6e 32 2d 33 20 31 30 61 34 23   ┆mat      colex 4i1 5.2n2-3 10a4#┆
0xa80…aa0 20 63 6f 6c 75 6d 6e 20 31 20 61 73 20 61 20 34 2d 77 69 64 65 20 69 6e 74 65 67 65 72 2c 0a 20   ┆ column 1 as a 4-wide integer,  ┆
0xaa0…ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 23 20 63 6f 6c 75 6d 6e   ┆                        # column┆
0xac0…ae0 73 20 32 2d 33 20 61 73 20 35 2d 77 69 64 65 20 6e 75 6d 62 65 72 73 20 77 69 74 68 20 32 20 64   ┆s 2-3 as 5-wide numbers with 2 d┆
0xae0…b00 65 63 69 6d 61 6c 20 64 69 67 69 74 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ecimal digits,                  ┆
0xb00…b20 20 20 20 20 20 20 20 20 23 20 61 6e 64 20 63 6f 6c 75 6d 6e 20 34 20 61 73 20 61 20 31 30 2d 77   ┆        # and column 4 as a 10-w┆
0xb20…b40 69 64 65 20 61 6c 70 68 61 62 65 74 69 63 20 73 74 72 69 6e 67 0a 0a 4c 49 4d 49 54 53 0a 20 20   ┆ide alphabetic string  LIMITS   ┆
0xb40…b60 20 20 20 55 73 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   ┆   Use the -L option to determin┆
0xb60…b76 65 20 74 68 65 20 70 72 6f 67 72 61 6d 20 6c 69 6d 69 74 73 2e 0a   ┆e the program limits. ┆