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 - metrics - download
Index: g

⟦e11ed7b84⟧

    Length: 53890 (0xd282)
    Names: »gawk-info-6«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦f133efdaf⟧ »EurOpenD3/gnu/gawk/gawk-doc-2.11.tar.Z« 
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦f133efdaf⟧ »./gawk-doc-2.11.tar.Z« 
        └─⟦8f64183b0⟧ 
            └─⟦this⟧ »gawk-2.11-doc/gawk-info-6« 

Hex Dump

0x0000…0020 49 6e 66 6f 20 66 69 6c 65 20 67 61 77 6b 2d 69 6e 66 6f 2c 20 70 72 6f 64 75 63 65 64 20 62 79   ┆Info file gawk-info, produced by┆
0x0020…0040 20 4d 61 6b 65 69 6e 66 6f 2c 20 2d 2a 2d 20 54 65 78 74 20 2d 2a 2d 20 66 72 6f 6d 20 69 6e 70   ┆ Makeinfo, -*- Text -*- from inp┆
0x0040…0060 75 74 0a 66 69 6c 65 20 67 61 77 6b 2e 74 65 78 69 6e 66 6f 2e 0a 0a 54 68 69 73 20 66 69 6c 65   ┆ut file gawk.texinfo.  This file┆
0x0060…0080 20 64 6f 63 75 6d 65 6e 74 73 20 60 61 77 6b 27 2c 20 61 20 70 72 6f 67 72 61 6d 20 74 68 61 74   ┆ documents `awk', a program that┆
0x0080…00a0 20 79 6f 75 20 63 61 6e 20 75 73 65 20 74 6f 20 73 65 6c 65 63 74 0a 70 61 72 74 69 63 75 6c 61   ┆ you can use to select particula┆
0x00a0…00c0 72 20 72 65 63 6f 72 64 73 20 69 6e 20 61 20 66 69 6c 65 20 61 6e 64 20 70 65 72 66 6f 72 6d 20   ┆r records in a file and perform ┆
0x00c0…00e0 6f 70 65 72 61 74 69 6f 6e 73 20 75 70 6f 6e 20 74 68 65 6d 2e 0a 0a 43 6f 70 79 72 69 67 68 74   ┆operations upon them.  Copyright┆
0x00e0…0100 20 28 43 29 20 31 39 38 39 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69   ┆ (C) 1989 Free Software Foundati┆
0x0100…0120 6f 6e 2c 20 49 6e 63 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 67 72 61 6e 74 65 64 20   ┆on, Inc.  Permission is granted ┆
0x0120…0140 74 6f 20 6d 61 6b 65 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 76 65 72 62 61 74 69 6d 20   ┆to make and distribute verbatim ┆
0x0140…0160 63 6f 70 69 65 73 20 6f 66 20 74 68 69 73 0a 6d 61 6e 75 61 6c 20 70 72 6f 76 69 64 65 64 20 74   ┆copies of this manual provided t┆
0x0160…0180 68 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 72   ┆he copyright notice and this per┆
0x0180…01a0 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 61 72 65 0a 70 72 65 73 65 72 76 65 64 20 6f 6e 20   ┆mission notice are preserved on ┆
0x01a0…01c0 61 6c 6c 20 63 6f 70 69 65 73 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 67 72 61 6e 74   ┆all copies.  Permission is grant┆
0x01c0…01e0 65 64 20 74 6f 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 6d 6f 64 69 66 69   ┆ed to copy and distribute modifi┆
0x01e0…0200 65 64 20 76 65 72 73 69 6f 6e 73 20 6f 66 0a 74 68 69 73 20 6d 61 6e 75 61 6c 20 75 6e 64 65 72   ┆ed versions of this manual under┆
0x0200…0220 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66 6f 72 20 76 65 72 62 61 74 69 6d 20 63 6f 70   ┆ the conditions for verbatim cop┆
0x0220…0240 79 69 6e 67 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 0a 74 68 65 20 65 6e 74 69 72 65 20 72   ┆ying, provided that the entire r┆
0x0240…0260 65 73 75 6c 74 69 6e 67 20 64 65 72 69 76 65 64 20 77 6f 72 6b 20 69 73 20 64 69 73 74 72 69 62   ┆esulting derived work is distrib┆
0x0260…0280 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 0a 70 65 72 6d 69 73   ┆uted under the terms of a permis┆
0x0280…02a0 73 69 6f 6e 20 6e 6f 74 69 63 65 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 20 74 68 69 73 20 6f 6e   ┆sion notice identical to this on┆
0x02a0…02c0 65 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 67 72 61 6e 74 65 64 20 74 6f 20 63 6f 70   ┆e.  Permission is granted to cop┆
0x02c0…02e0 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 72 61 6e 73 6c 61 74 69 6f 6e 73 20 6f 66   ┆y and distribute translations of┆
0x02e0…0300 20 74 68 69 73 0a 6d 61 6e 75 61 6c 20 69 6e 74 6f 20 61 6e 6f 74 68 65 72 20 6c 61 6e 67 75 61   ┆ this manual into another langua┆
0x0300…0320 67 65 2c 20 75 6e 64 65 72 20 74 68 65 20 61 62 6f 76 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66   ┆ge, under the above conditions f┆
0x0320…0340 6f 72 20 6d 6f 64 69 66 69 65 64 0a 76 65 72 73 69 6f 6e 73 2c 20 65 78 63 65 70 74 20 74 68 61   ┆or modified versions, except tha┆
0x0340…0360 74 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 6d 61 79 20 62 65 20   ┆t this permission notice may be ┆
0x0360…0380 73 74 61 74 65 64 20 69 6e 20 61 0a 74 72 61 6e 73 6c 61 74 69 6f 6e 20 61 70 70 72 6f 76 65 64   ┆stated in a translation approved┆
0x0380…03a0 20 62 79 20 74 68 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2e 0a 0a 0a 1f 0a 46 69 6c 65 3a 20 67 61   ┆ by the Foundation.     File: ga┆
0x03a0…03c0 77 6b 2d 69 6e 66 6f 2c 20 20 4e 6f 64 65 3a 20 42 75 69 6c 74 2d 69 6e 20 53 75 6d 6d 61 72 79   ┆wk-info,  Node: Built-in Summary┆
0x03c0…03e0 2c 20 20 4e 65 78 74 3a 20 41 72 72 61 79 73 20 53 75 6d 6d 61 72 79 2c 20 20 50 72 65 76 3a 20   ┆,  Next: Arrays Summary,  Prev: ┆
0x03e0…0400 46 69 65 6c 64 73 20 53 75 6d 6d 61 72 79 2c 20 20 55 70 3a 20 56 61 72 69 61 62 6c 65 73 2f 46   ┆Fields Summary,  Up: Variables/F┆
0x0400…0420 69 65 6c 64 73 0a 0a 42 75 69 6c 74 2d 69 6e 20 56 61 72 69 61 62 6c 65 73 0a 2d 2d 2d 2d 2d 2d   ┆ields  Built-in Variables ------┆
0x0420…0440 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 60 61 77 6b 27 27 73 20 62 75 69 6c 74 2d 69 6e 20 76   ┆------------  `awk''s built-in v┆
0x0440…0460 61 72 69 61 62 6c 65 73 20 61 72 65 3a 0a 0a 60 41 52 47 43 27 0a 20 20 20 20 20 54 68 65 20 6e   ┆ariables are:  `ARGC'      The n┆
0x0460…0480 75 6d 62 65 72 20 6f 66 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 61 72 67 75 6d 65 6e 74 73 20   ┆umber of command line arguments ┆
0x0480…04a0 28 6e 6f 74 20 69 6e 63 6c 75 64 69 6e 67 20 6f 70 74 69 6f 6e 73 20 6f 72 0a 20 20 20 20 20 74   ┆(not including options or      t┆
0x04a0…04c0 68 65 20 60 61 77 6b 27 20 70 72 6f 67 72 61 6d 20 69 74 73 65 6c 66 29 2e 0a 0a 60 41 52 47 56   ┆he `awk' program itself).  `ARGV┆
0x04c0…04e0 27 0a 20 20 20 20 20 54 68 65 20 61 72 72 61 79 20 6f 66 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65   ┆'      The array of command line┆
0x04e0…0500 20 61 72 67 75 6d 65 6e 74 73 2e 20 20 54 68 65 20 61 72 72 61 79 20 69 73 20 69 6e 64 65 78 65   ┆ arguments.  The array is indexe┆
0x0500…0520 64 20 66 72 6f 6d 0a 20 20 20 20 20 30 20 74 6f 20 60 41 52 47 43 27 20 2d 20 31 2e 20 20 44 79   ┆d from      0 to `ARGC' - 1.  Dy┆
0x0520…0540 6e 61 6d 69 63 61 6c 6c 79 20 63 68 61 6e 67 69 6e 67 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20   ┆namically changing the contents ┆
0x0540…0560 6f 66 20 60 41 52 47 56 27 0a 20 20 20 20 20 63 61 6e 20 63 6f 6e 74 72 6f 6c 20 74 68 65 20 66   ┆of `ARGV'      can control the f┆
0x0560…0580 69 6c 65 73 20 75 73 65 64 20 66 6f 72 20 64 61 74 61 2e 0a 0a 60 45 4e 56 49 52 4f 4e 27 0a 20   ┆iles used for data.  `ENVIRON'  ┆
0x0580…05a0 20 20 20 20 41 6e 20 61 72 72 61 79 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 76 61 6c 75   ┆    An array containing the valu┆
0x05a0…05c0 65 73 20 6f 66 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 2e   ┆es of the environment variables.┆
0x05c0…05e0 20 0a 20 20 20 20 20 54 68 65 20 61 72 72 61 79 20 69 73 20 69 6e 64 65 78 65 64 20 62 79 20 76   ┆       The array is indexed by v┆
0x05e0…0600 61 72 69 61 62 6c 65 20 6e 61 6d 65 2c 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 62 65 69 6e 67   ┆ariable name, each element being┆
0x0600…0620 20 74 68 65 0a 20 20 20 20 20 76 61 6c 75 65 20 6f 66 20 74 68 61 74 20 76 61 72 69 61 62 6c 65   ┆ the      value of that variable┆
0x0620…0640 2e 20 20 54 68 75 73 2c 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c   ┆.  Thus, the environment variabl┆
0x0640…0660 65 20 60 48 4f 4d 45 27 0a 20 20 20 20 20 77 6f 75 6c 64 20 62 65 20 69 6e 20 60 45 4e 56 49 52   ┆e `HOME'      would be in `ENVIR┆
0x0660…0680 4f 4e 5b 22 48 4f 4d 45 22 5d 27 2e 20 20 49 74 73 20 76 61 6c 75 65 20 6d 69 67 68 74 20 62 65   ┆ON["HOME"]'.  Its value might be┆
0x0680…06a0 20 60 2f 75 2f 63 6c 6f 73 65 27 2e 0a 0a 20 20 20 20 20 43 68 61 6e 67 69 6e 67 20 74 68 69 73   ┆ `/u/close'.       Changing this┆
0x06a0…06c0 20 61 72 72 61 79 20 64 6f 65 73 20 6e 6f 74 20 61 66 66 65 63 74 20 74 68 65 20 65 6e 76 69 72   ┆ array does not affect the envir┆
0x06c0…06e0 6f 6e 6d 65 6e 74 20 73 65 65 6e 20 62 79 0a 20 20 20 20 20 70 72 6f 67 72 61 6d 73 20 77 68 69   ┆onment seen by      programs whi┆
0x06e0…0700 63 68 20 60 67 61 77 6b 27 20 73 70 61 77 6e 73 20 76 69 61 20 72 65 64 69 72 65 63 74 69 6f 6e   ┆ch `gawk' spawns via redirection┆
0x0700…0720 20 6f 72 20 74 68 65 20 60 73 79 73 74 65 6d 27 0a 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 2e 20   ┆ or the `system'      function. ┆
0x0720…0740 20 28 54 68 69 73 20 6d 61 79 20 63 68 61 6e 67 65 20 69 6e 20 61 20 66 75 74 75 72 65 20 76 65   ┆ (This may change in a future ve┆
0x0740…0760 72 73 69 6f 6e 20 6f 66 20 60 67 61 77 6b 27 2e 29 0a 0a 20 20 20 20 20 53 6f 6d 65 20 6f 70 65   ┆rsion of `gawk'.)       Some ope┆
0x0760…0780 72 61 74 69 6e 67 20 73 79 73 74 65 6d 73 20 64 6f 20 6e 6f 74 20 68 61 76 65 20 65 6e 76 69 72   ┆rating systems do not have envir┆
0x0780…07a0 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 2e 20 20 54 68 65 0a 20 20 20 20 20 61 72 72 61   ┆onment variables.  The      arra┆
0x07a0…07c0 79 20 60 45 4e 56 49 52 4f 4e 27 20 69 73 20 65 6d 70 74 79 20 77 68 65 6e 20 72 75 6e 6e 69 6e   ┆y `ENVIRON' is empty when runnin┆
0x07c0…07e0 67 20 6f 6e 20 74 68 65 73 65 20 73 79 73 74 65 6d 73 2e 0a 0a 60 46 49 4c 45 4e 41 4d 45 27 0a   ┆g on these systems.  `FILENAME' ┆
0x07e0…0800 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 69 6e 70   ┆     The name of the current inp┆
0x0800…0820 75 74 20 66 69 6c 65 2e 20 20 49 66 20 6e 6f 20 66 69 6c 65 73 20 61 72 65 20 73 70 65 63 69 66   ┆ut file.  If no files are specif┆
0x0820…0840 69 65 64 0a 20 20 20 20 20 6f 6e 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 2c 20 74 68   ┆ied      on the command line, th┆
0x0840…0860 65 20 76 61 6c 75 65 20 6f 66 20 60 46 49 4c 45 4e 41 4d 45 27 20 69 73 20 60 2d 27 2e 0a 0a 60   ┆e value of `FILENAME' is `-'.  `┆
0x0860…0880 46 4e 52 27 0a 20 20 20 20 20 54 68 65 20 69 6e 70 75 74 20 72 65 63 6f 72 64 20 6e 75 6d 62 65   ┆FNR'      The input record numbe┆
0x0880…08a0 72 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 69 6e 70 75 74 20 66 69 6c 65 2e 0a 0a 60 46   ┆r in the current input file.  `F┆
0x08a0…08c0 53 27 0a 20 20 20 20 20 54 68 65 20 69 6e 70 75 74 20 66 69 65 6c 64 20 73 65 70 61 72 61 74 6f   ┆S'      The input field separato┆
0x08c0…08e0 72 2c 20 61 20 62 6c 61 6e 6b 20 62 79 20 64 65 66 61 75 6c 74 2e 0a 0a 60 49 47 4e 4f 52 45 43   ┆r, a blank by default.  `IGNOREC┆
0x08e0…0900 41 53 45 27 0a 20 20 20 20 20 54 68 65 20 63 61 73 65 2d 73 65 6e 73 69 74 69 76 69 74 79 20 66   ┆ASE'      The case-sensitivity f┆
0x0900…0920 6c 61 67 20 66 6f 72 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 6f 70 65 72 61   ┆lag for regular expression opera┆
0x0920…0940 74 69 6f 6e 73 2e 20 20 49 66 0a 20 20 20 20 20 60 49 47 4e 4f 52 45 43 41 53 45 27 20 68 61 73   ┆tions.  If      `IGNORECASE' has┆
0x0940…0960 20 61 20 6e 6f 6e 7a 65 72 6f 20 76 61 6c 75 65 2c 20 74 68 65 6e 20 70 61 74 74 65 72 6e 20 6d   ┆ a nonzero value, then pattern m┆
0x0960…0980 61 74 63 68 69 6e 67 20 69 6e 0a 20 20 20 20 20 72 75 6c 65 73 2c 20 66 69 65 6c 64 20 73 70 6c   ┆atching in      rules, field spl┆
0x0980…09a0 69 74 74 69 6e 67 20 77 69 74 68 20 60 46 53 27 2c 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73   ┆itting with `FS', regular expres┆
0x09a0…09c0 73 69 6f 6e 20 6d 61 74 63 68 69 6e 67 0a 20 20 20 20 20 77 69 74 68 20 60 7e 27 20 61 6e 64 20   ┆sion matching      with `~' and ┆
0x09c0…09e0 60 21 7e 27 2c 20 61 6e 64 20 74 68 65 20 60 67 73 75 62 27 2c 20 60 69 6e 64 65 78 27 2c 20 60   ┆`!~', and the `gsub', `index', `┆
0x09e0…0a00 6d 61 74 63 68 27 2c 20 60 73 70 6c 69 74 27 20 61 6e 64 0a 20 20 20 20 20 60 73 75 62 27 20 70   ┆match', `split' and      `sub' p┆
0x0a00…0a20 72 65 64 65 66 69 6e 65 64 20 66 75 6e 63 74 69 6f 6e 73 20 61 6c 6c 20 69 67 6e 6f 72 65 20 63   ┆redefined functions all ignore c┆
0x0a20…0a40 61 73 65 20 77 68 65 6e 20 64 6f 69 6e 67 20 72 65 67 75 6c 61 72 0a 20 20 20 20 20 65 78 70 72   ┆ase when doing regular      expr┆
0x0a40…0a60 65 73 73 69 6f 6e 20 6f 70 65 72 61 74 69 6f 6e 73 2e 0a 0a 60 4e 46 27 0a 20 20 20 20 20 54 68   ┆ession operations.  `NF'      Th┆
0x0a60…0a80 65 20 6e 75 6d 62 65 72 20 6f 66 20 66 69 65 6c 64 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e   ┆e number of fields in the curren┆
0x0a80…0aa0 74 20 69 6e 70 75 74 20 72 65 63 6f 72 64 2e 0a 0a 60 4e 52 27 0a 20 20 20 20 20 54 68 65 20 74   ┆t input record.  `NR'      The t┆
0x0aa0…0ac0 6f 74 61 6c 20 6e 75 6d 62 65 72 20 6f 66 20 69 6e 70 75 74 20 72 65 63 6f 72 64 73 20 73 65 65   ┆otal number of input records see┆
0x0ac0…0ae0 6e 20 73 6f 20 66 61 72 2e 0a 0a 60 4f 46 4d 54 27 0a 20 20 20 20 20 54 68 65 20 6f 75 74 70 75   ┆n so far.  `OFMT'      The outpu┆
0x0ae0…0b00 74 20 66 6f 72 6d 61 74 20 66 6f 72 20 6e 75 6d 62 65 72 73 2c 20 60 22 25 2e 36 67 22 27 20 62   ┆t format for numbers, `"%.6g"' b┆
0x0b00…0b20 79 20 64 65 66 61 75 6c 74 2e 0a 0a 60 4f 46 53 27 0a 20 20 20 20 20 54 68 65 20 6f 75 74 70 75   ┆y default.  `OFS'      The outpu┆
0x0b20…0b40 74 20 66 69 65 6c 64 20 73 65 70 61 72 61 74 6f 72 2c 20 61 20 62 6c 61 6e 6b 20 62 79 20 64 65   ┆t field separator, a blank by de┆
0x0b40…0b60 66 61 75 6c 74 2e 0a 0a 60 4f 52 53 27 0a 20 20 20 20 20 54 68 65 20 6f 75 74 70 75 74 20 72 65   ┆fault.  `ORS'      The output re┆
0x0b60…0b80 63 6f 72 64 20 73 65 70 61 72 61 74 6f 72 2c 20 62 79 20 64 65 66 61 75 6c 74 20 61 20 6e 65 77   ┆cord separator, by default a new┆
0x0b80…0ba0 6c 69 6e 65 2e 0a 0a 60 52 53 27 0a 20 20 20 20 20 54 68 65 20 69 6e 70 75 74 20 72 65 63 6f 72   ┆line.  `RS'      The input recor┆
0x0ba0…0bc0 64 20 73 65 70 61 72 61 74 6f 72 2c 20 62 79 20 64 65 66 61 75 6c 74 20 61 20 6e 65 77 6c 69 6e   ┆d separator, by default a newlin┆
0x0bc0…0be0 65 2e 20 20 60 52 53 27 20 69 73 0a 20 20 20 20 20 65 78 63 65 70 74 69 6f 6e 61 6c 20 69 6e 20   ┆e.  `RS' is      exceptional in ┆
0x0be0…0c00 74 68 61 74 20 6f 6e 6c 79 20 74 68 65 20 66 69 72 73 74 20 63 68 61 72 61 63 74 65 72 20 6f 66   ┆that only the first character of┆
0x0c00…0c20 20 69 74 73 20 73 74 72 69 6e 67 20 76 61 6c 75 65 0a 20 20 20 20 20 69 73 20 75 73 65 64 20 66   ┆ its string value      is used f┆
0x0c20…0c40 6f 72 20 73 65 70 61 72 61 74 69 6e 67 20 72 65 63 6f 72 64 73 2e 20 20 49 66 20 60 52 53 27 20   ┆or separating records.  If `RS' ┆
0x0c40…0c60 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 6e 75 6c 6c 0a 20 20 20 20 20 73 74 72 69 6e 67 2c 20   ┆is set to the null      string, ┆
0x0c60…0c80 74 68 65 6e 20 72 65 63 6f 72 64 73 20 61 72 65 20 73 65 70 61 72 61 74 65 64 20 62 79 20 62 6c   ┆then records are separated by bl┆
0x0c80…0ca0 61 6e 6b 20 6c 69 6e 65 73 2e 20 20 57 68 65 6e 20 60 52 53 27 20 69 73 0a 20 20 20 20 20 73 65   ┆ank lines.  When `RS' is      se┆
0x0ca0…0cc0 74 20 74 6f 20 74 68 65 20 6e 75 6c 6c 20 73 74 72 69 6e 67 2c 20 74 68 65 6e 20 74 68 65 20 6e   ┆t to the null string, then the n┆
0x0cc0…0ce0 65 77 6c 69 6e 65 20 63 68 61 72 61 63 74 65 72 20 61 6c 77 61 79 73 20 61 63 74 73 0a 20 20 20   ┆ewline character always acts    ┆
0x0ce0…0d00 20 20 61 73 20 61 20 66 69 65 6c 64 20 73 65 70 61 72 61 74 6f 72 2c 20 69 6e 20 61 64 64 69 74   ┆  as a field separator, in addit┆
0x0d00…0d20 69 6f 6e 20 74 6f 20 77 68 61 74 65 76 65 72 20 76 61 6c 75 65 20 60 46 53 27 20 6d 61 79 20 68   ┆ion to whatever value `FS' may h┆
0x0d20…0d40 61 76 65 2e 0a 0a 60 52 53 54 41 52 54 27 0a 20 20 20 20 20 54 68 65 20 69 6e 64 65 78 20 6f 66   ┆ave.  `RSTART'      The index of┆
0x0d40…0d60 20 74 68 65 20 66 69 72 73 74 20 63 68 61 72 61 63 74 65 72 20 6d 61 74 63 68 65 64 20 62 79 20   ┆ the first character matched by ┆
0x0d60…0d80 60 6d 61 74 63 68 27 3b 20 30 20 69 66 20 6e 6f 0a 20 20 20 20 20 6d 61 74 63 68 2e 0a 0a 60 52   ┆`match'; 0 if no      match.  `R┆
0x0d80…0da0 4c 45 4e 47 54 48 27 0a 20 20 20 20 20 54 68 65 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 73   ┆LENGTH'      The length of the s┆
0x0da0…0dc0 74 72 69 6e 67 20 6d 61 74 63 68 65 64 20 62 79 20 60 6d 61 74 63 68 27 3b 20 2d 31 20 69 66 20   ┆tring matched by `match'; -1 if ┆
0x0dc0…0de0 6e 6f 20 6d 61 74 63 68 2e 0a 0a 60 53 55 42 53 45 50 27 0a 20 20 20 20 20 54 68 65 20 73 74 72   ┆no match.  `SUBSEP'      The str┆
0x0de0…0e00 69 6e 67 20 75 73 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 6d 75 6c 74 69 70 6c 65 20 73 75   ┆ing used to separate multiple su┆
0x0e00…0e20 62 73 63 72 69 70 74 73 20 69 6e 20 61 72 72 61 79 0a 20 20 20 20 20 65 6c 65 6d 65 6e 74 73 2c   ┆bscripts in array      elements,┆
0x0e20…0e40 20 62 79 20 64 65 66 61 75 6c 74 20 60 22 5c 30 33 34 22 27 2e 0a 0a 2a 4e 6f 74 65 20 42 75 69   ┆ by default `"\034"'.  *Note Bui┆
0x0e40…0e60 6c 74 2d 69 6e 20 56 61 72 69 61 62 6c 65 73 3a 3a 2e 0a 0a 0a 1f 0a 46 69 6c 65 3a 20 67 61 77   ┆lt-in Variables::.     File: gaw┆
0x0e60…0e80 6b 2d 69 6e 66 6f 2c 20 20 4e 6f 64 65 3a 20 41 72 72 61 79 73 20 53 75 6d 6d 61 72 79 2c 20 20   ┆k-info,  Node: Arrays Summary,  ┆
0x0e80…0ea0 4e 65 78 74 3a 20 44 61 74 61 20 54 79 70 65 20 53 75 6d 6d 61 72 79 2c 20 20 50 72 65 76 3a 20   ┆Next: Data Type Summary,  Prev: ┆
0x0ea0…0ec0 42 75 69 6c 74 2d 69 6e 20 53 75 6d 6d 61 72 79 2c 20 20 55 70 3a 20 56 61 72 69 61 62 6c 65 73   ┆Built-in Summary,  Up: Variables┆
0x0ec0…0ee0 2f 46 69 65 6c 64 73 0a 0a 41 72 72 61 79 73 0a 2d 2d 2d 2d 2d 2d 0a 0a 41 72 72 61 79 73 20 61   ┆/Fields  Arrays ------  Arrays a┆
0x0ee0…0f00 72 65 20 73 75 62 73 63 72 69 70 74 65 64 20 77 69 74 68 20 61 6e 20 65 78 70 72 65 73 73 69 6f   ┆re subscripted with an expressio┆
0x0f00…0f20 6e 20 62 65 74 77 65 65 6e 20 73 71 75 61 72 65 20 62 72 61 63 6b 65 74 73 0a 28 60 5b 27 20 61   ┆n between square brackets (`[' a┆
0x0f20…0f40 6e 64 20 60 5d 27 29 2e 20 20 54 68 65 20 65 78 70 72 65 73 73 69 6f 6e 20 6d 61 79 20 62 65 20   ┆nd `]').  The expression may be ┆
0x0f40…0f60 65 69 74 68 65 72 20 61 20 6e 75 6d 62 65 72 20 6f 72 20 61 20 73 74 72 69 6e 67 2e 20 0a 53 69   ┆either a number or a string.  Si┆
0x0f60…0f80 6e 63 65 20 61 72 72 61 79 73 20 61 72 65 20 61 73 73 6f 63 69 61 74 69 76 65 2c 20 73 74 72 69   ┆nce arrays are associative, stri┆
0x0f80…0fa0 6e 67 20 69 6e 64 69 63 65 73 20 61 72 65 20 6d 65 61 6e 69 6e 67 66 75 6c 20 61 6e 64 20 61 72   ┆ng indices are meaningful and ar┆
0x0fa0…0fc0 65 0a 6e 6f 74 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 6e 75 6d 62 65 72 73 2e 0a 0a 49 66 20   ┆e not converted to numbers.  If ┆
0x0fc0…0fe0 79 6f 75 20 75 73 65 20 6d 75 6c 74 69 70 6c 65 20 65 78 70 72 65 73 73 69 6f 6e 73 20 73 65 70   ┆you use multiple expressions sep┆
0x0fe0…1000 61 72 61 74 65 64 20 62 79 20 63 6f 6d 6d 61 73 20 69 6e 73 69 64 65 20 74 68 65 20 73 71 75 61   ┆arated by commas inside the squa┆
0x1000…1020 72 65 0a 62 72 61 63 6b 65 74 73 2c 20 74 68 65 6e 20 74 68 65 20 61 72 72 61 79 20 73 75 62 73   ┆re brackets, then the array subs┆
0x1020…1040 63 72 69 70 74 20 69 73 20 61 20 73 74 72 69 6e 67 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 20   ┆cript is a string consisting of ┆
0x1040…1060 74 68 65 0a 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 69 6e 64 69 76 69 64   ┆the concatenation of the individ┆
0x1060…1080 75 61 6c 20 73 75 62 73 63 72 69 70 74 20 76 61 6c 75 65 73 2c 20 63 6f 6e 76 65 72 74 65 64 20   ┆ual subscript values, converted ┆
0x1080…10a0 74 6f 0a 73 74 72 69 6e 67 73 2c 20 73 65 70 61 72 61 74 65 64 20 62 79 20 74 68 65 20 73 75 62   ┆to strings, separated by the sub┆
0x10a0…10c0 73 63 72 69 70 74 20 73 65 70 61 72 61 74 6f 72 20 28 74 68 65 20 76 61 6c 75 65 20 6f 66 20 60   ┆script separator (the value of `┆
0x10c0…10e0 53 55 42 53 45 50 27 29 2e 0a 0a 54 68 65 20 73 70 65 63 69 61 6c 20 6f 70 65 72 61 74 6f 72 20   ┆SUBSEP').  The special operator ┆
0x10e0…1100 60 69 6e 27 20 6d 61 79 20 62 65 20 75 73 65 64 20 69 6e 20 61 6e 20 60 69 66 27 20 6f 72 20 60   ┆`in' may be used in an `if' or `┆
0x1100…1120 77 68 69 6c 65 27 20 73 74 61 74 65 6d 65 6e 74 0a 74 6f 20 73 65 65 20 69 66 20 61 6e 20 61 72   ┆while' statement to see if an ar┆
0x1120…1140 72 61 79 20 68 61 73 20 61 6e 20 69 6e 64 65 78 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 20 61   ┆ray has an index consisting of a┆
0x1140…1160 20 70 61 72 74 69 63 75 6c 61 72 20 76 61 6c 75 65 2e 0a 0a 20 20 20 20 20 69 66 20 28 76 61 6c   ┆ particular value.       if (val┆
0x1160…1180 20 69 6e 20 61 72 72 61 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 20 61 72   ┆ in array)              print ar┆
0x1180…11a0 72 61 79 5b 76 61 6c 5d 0a 0a 49 66 20 74 68 65 20 61 72 72 61 79 20 68 61 73 20 6d 75 6c 74 69   ┆ray[val]  If the array has multi┆
0x11a0…11c0 70 6c 65 20 73 75 62 73 63 72 69 70 74 73 2c 20 75 73 65 20 60 28 69 2c 20 6a 2c 20 2e 2e 2e 29   ┆ple subscripts, use `(i, j, ...)┆
0x11c0…11e0 20 69 6e 20 61 72 72 61 79 27 20 74 6f 0a 74 65 73 74 20 66 6f 72 20 65 78 69 73 74 65 6e 63 65   ┆ in array' to test for existence┆
0x11e0…1200 20 6f 66 20 61 6e 20 65 6c 65 6d 65 6e 74 2e 0a 0a 54 68 65 20 60 69 6e 27 20 63 6f 6e 73 74 72   ┆ of an element.  The `in' constr┆
0x1200…1220 75 63 74 20 6d 61 79 20 61 6c 73 6f 20 62 65 20 75 73 65 64 20 69 6e 20 61 20 60 66 6f 72 27 20   ┆uct may also be used in a `for' ┆
0x1220…1240 6c 6f 6f 70 20 74 6f 20 69 74 65 72 61 74 65 20 6f 76 65 72 0a 61 6c 6c 20 74 68 65 20 65 6c 65   ┆loop to iterate over all the ele┆
0x1240…1260 6d 65 6e 74 73 20 6f 66 20 61 6e 20 61 72 72 61 79 2e 20 20 2a 4e 6f 74 65 20 53 63 61 6e 6e 69   ┆ments of an array.  *Note Scanni┆
0x1260…1280 6e 67 20 61 6e 20 41 72 72 61 79 3a 3a 2e 0a 0a 41 6e 20 65 6c 65 6d 65 6e 74 20 6d 61 79 20 62   ┆ng an Array::.  An element may b┆
0x1280…12a0 65 20 64 65 6c 65 74 65 64 20 66 72 6f 6d 20 61 6e 20 61 72 72 61 79 20 75 73 69 6e 67 20 74 68   ┆e deleted from an array using th┆
0x12a0…12c0 65 20 60 64 65 6c 65 74 65 27 20 73 74 61 74 65 6d 65 6e 74 2e 0a 0a 2a 4e 6f 74 65 20 41 72 72   ┆e `delete' statement.  *Note Arr┆
0x12c0…12e0 61 79 73 3a 3a 2c 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 69 6e 66 6f 72 6d 61   ┆ays::, for more detailed informa┆
0x12e0…1300 74 69 6f 6e 2e 0a 0a 0a 1f 0a 46 69 6c 65 3a 20 67 61 77 6b 2d 69 6e 66 6f 2c 20 20 4e 6f 64 65   ┆tion.     File: gawk-info,  Node┆
0x1300…1320 3a 20 44 61 74 61 20 54 79 70 65 20 53 75 6d 6d 61 72 79 2c 20 20 50 72 65 76 3a 20 41 72 72 61   ┆: Data Type Summary,  Prev: Arra┆
0x1320…1340 79 73 20 53 75 6d 6d 61 72 79 2c 20 20 55 70 3a 20 56 61 72 69 61 62 6c 65 73 2f 46 69 65 6c 64   ┆ys Summary,  Up: Variables/Field┆
0x1340…1360 73 0a 0a 44 61 74 61 20 54 79 70 65 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 76 61   ┆s  Data Types ----------  The va┆
0x1360…1380 6c 75 65 20 6f 66 20 61 6e 20 60 61 77 6b 27 20 65 78 70 72 65 73 73 69 6f 6e 20 69 73 20 61 6c   ┆lue of an `awk' expression is al┆
0x1380…13a0 77 61 79 73 20 65 69 74 68 65 72 20 61 20 6e 75 6d 62 65 72 20 6f 72 20 61 20 73 74 72 69 6e 67   ┆ways either a number or a string┆
0x13a0…13c0 2e 0a 0a 43 65 72 74 61 69 6e 20 63 6f 6e 74 65 78 74 73 20 28 73 75 63 68 20 61 73 20 61 72 69   ┆.  Certain contexts (such as ari┆
0x13c0…13e0 74 68 6d 65 74 69 63 20 6f 70 65 72 61 74 6f 72 73 29 20 72 65 71 75 69 72 65 20 6e 75 6d 65 72   ┆thmetic operators) require numer┆
0x13e0…1400 69 63 0a 76 61 6c 75 65 73 2e 20 20 54 68 65 79 20 63 6f 6e 76 65 72 74 20 73 74 72 69 6e 67 73   ┆ic values.  They convert strings┆
0x1400…1420 20 74 6f 20 6e 75 6d 62 65 72 73 20 62 79 20 69 6e 74 65 72 70 72 65 74 69 6e 67 20 74 68 65 20   ┆ to numbers by interpreting the ┆
0x1420…1440 74 65 78 74 20 6f 66 0a 74 68 65 20 73 74 72 69 6e 67 20 61 73 20 61 20 6e 75 6d 65 72 61 6c 2e   ┆text of the string as a numeral.┆
0x1440…1460 20 20 49 66 20 74 68 65 20 73 74 72 69 6e 67 20 64 6f 65 73 20 6e 6f 74 20 6c 6f 6f 6b 20 6c 69   ┆  If the string does not look li┆
0x1460…1480 6b 65 20 61 20 6e 75 6d 65 72 61 6c 2c 0a 69 74 20 63 6f 6e 76 65 72 74 73 20 74 6f 20 30 2e 0a   ┆ke a numeral, it converts to 0. ┆
0x1480…14a0 0a 43 65 72 74 61 69 6e 20 63 6f 6e 74 65 78 74 73 20 28 73 75 63 68 20 61 73 20 63 6f 6e 63 61   ┆ Certain contexts (such as conca┆
0x14a0…14c0 74 65 6e 61 74 69 6f 6e 29 20 72 65 71 75 69 72 65 20 73 74 72 69 6e 67 20 76 61 6c 75 65 73 2e   ┆tenation) require string values.┆
0x14c0…14e0 20 20 54 68 65 79 0a 63 6f 6e 76 65 72 74 20 6e 75 6d 62 65 72 73 20 74 6f 20 73 74 72 69 6e 67   ┆  They convert numbers to string┆
0x14e0…1500 73 20 62 79 20 65 66 66 65 63 74 69 76 65 6c 79 20 70 72 69 6e 74 69 6e 67 20 74 68 65 6d 2e 0a   ┆s by effectively printing them. ┆
0x1500…1520 0a 54 6f 20 66 6f 72 63 65 20 63 6f 6e 76 65 72 73 69 6f 6e 20 6f 66 20 61 20 73 74 72 69 6e 67   ┆ To force conversion of a string┆
0x1520…1540 20 76 61 6c 75 65 20 74 6f 20 61 20 6e 75 6d 62 65 72 2c 20 73 69 6d 70 6c 79 20 61 64 64 20 30   ┆ value to a number, simply add 0┆
0x1540…1560 20 74 6f 0a 69 74 2e 20 20 49 66 20 74 68 65 20 76 61 6c 75 65 20 79 6f 75 20 73 74 61 72 74 20   ┆ to it.  If the value you start ┆
0x1560…1580 77 69 74 68 20 69 73 20 61 6c 72 65 61 64 79 20 61 20 6e 75 6d 62 65 72 2c 20 74 68 69 73 20 64   ┆with is already a number, this d┆
0x1580…15a0 6f 65 73 20 6e 6f 74 0a 63 68 61 6e 67 65 20 69 74 2e 0a 0a 54 6f 20 66 6f 72 63 65 20 63 6f 6e   ┆oes not change it.  To force con┆
0x15a0…15c0 76 65 72 73 69 6f 6e 20 6f 66 20 61 20 6e 75 6d 65 72 69 63 20 76 61 6c 75 65 20 74 6f 20 61 20   ┆version of a numeric value to a ┆
0x15c0…15e0 73 74 72 69 6e 67 2c 20 63 6f 6e 63 61 74 65 6e 61 74 65 20 69 74 0a 77 69 74 68 20 74 68 65 20   ┆string, concatenate it with the ┆
0x15e0…1600 6e 75 6c 6c 20 73 74 72 69 6e 67 2e 0a 0a 54 68 65 20 60 61 77 6b 27 20 6c 61 6e 67 75 61 67 65   ┆null string.  The `awk' language┆
0x1600…1620 20 64 65 66 69 6e 65 73 20 63 6f 6d 70 61 72 69 73 6f 6e 73 20 61 73 20 62 65 69 6e 67 20 64 6f   ┆ defines comparisons as being do┆
0x1620…1640 6e 65 20 6e 75 6d 65 72 69 63 61 6c 6c 79 20 69 66 0a 70 6f 73 73 69 62 6c 65 2c 20 6f 74 68 65   ┆ne numerically if possible, othe┆
0x1640…1660 72 77 69 73 65 20 6f 6e 65 20 6f 72 20 62 6f 74 68 20 6f 70 65 72 61 6e 64 73 20 61 72 65 20 63   ┆rwise one or both operands are c┆
0x1660…1680 6f 6e 76 65 72 74 65 64 20 74 6f 20 73 74 72 69 6e 67 73 20 61 6e 64 0a 61 20 73 74 72 69 6e 67   ┆onverted to strings and a string┆
0x1680…16a0 20 63 6f 6d 70 61 72 69 73 6f 6e 20 69 73 20 70 65 72 66 6f 72 6d 65 64 2e 0a 0a 55 6e 69 6e 69   ┆ comparison is performed.  Unini┆
0x16a0…16c0 74 69 61 6c 69 7a 65 64 20 76 61 72 69 61 62 6c 65 73 20 68 61 76 65 20 74 68 65 20 73 74 72 69   ┆tialized variables have the stri┆
0x16c0…16e0 6e 67 20 76 61 6c 75 65 20 60 22 22 27 20 28 74 68 65 20 6e 75 6c 6c 2c 20 6f 72 0a 65 6d 70 74   ┆ng value `""' (the null, or empt┆
0x16e0…1700 79 2c 20 73 74 72 69 6e 67 29 2e 20 20 49 6e 20 63 6f 6e 74 65 78 74 73 20 77 68 65 72 65 20 61   ┆y, string).  In contexts where a┆
0x1700…1720 20 6e 75 6d 62 65 72 20 69 73 20 72 65 71 75 69 72 65 64 2c 20 74 68 69 73 20 69 73 0a 65 71 75   ┆ number is required, this is equ┆
0x1720…1740 69 76 61 6c 65 6e 74 20 74 6f 20 30 2e 0a 0a 2a 4e 6f 74 65 20 56 61 72 69 61 62 6c 65 73 3a 3a   ┆ivalent to 0.  *Note Variables::┆
0x1740…1760 2c 20 66 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 76 61 72 69 61 62   ┆, for more information on variab┆
0x1760…1780 6c 65 20 6e 61 6d 69 6e 67 20 61 6e 64 0a 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 3b 20 2a 6e   ┆le naming and initialization; *n┆
0x1780…17a0 6f 74 65 20 43 6f 6e 76 65 72 73 69 6f 6e 3a 3a 2e 2c 20 66 6f 72 20 6d 6f 72 65 20 69 6e 66 6f   ┆ote Conversion::., for more info┆
0x17a0…17c0 72 6d 61 74 69 6f 6e 20 6f 6e 20 68 6f 77 0a 76 61 72 69 61 62 6c 65 20 76 61 6c 75 65 73 20 61   ┆rmation on how variable values a┆
0x17c0…17e0 72 65 20 69 6e 74 65 72 70 72 65 74 65 64 2e 0a 0a 0a 1f 0a 46 69 6c 65 3a 20 67 61 77 6b 2d 69   ┆re interpreted.     File: gawk-i┆
0x17e0…1800 6e 66 6f 2c 20 20 4e 6f 64 65 3a 20 52 75 6c 65 73 20 53 75 6d 6d 61 72 79 2c 20 20 4e 65 78 74   ┆nfo,  Node: Rules Summary,  Next┆
0x1800…1820 3a 20 46 75 6e 63 74 69 6f 6e 73 20 53 75 6d 6d 61 72 79 2c 20 20 50 72 65 76 3a 20 56 61 72 69   ┆: Functions Summary,  Prev: Vari┆
0x1820…1840 61 62 6c 65 73 2f 46 69 65 6c 64 73 2c 20 20 55 70 3a 20 47 61 77 6b 20 53 75 6d 6d 61 72 79 0a   ┆ables/Fields,  Up: Gawk Summary ┆
0x1840…1860 0a 50 61 74 74 65 72 6e 73 20 61 6e 64 20 41 63 74 69 6f 6e 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d   ┆ Patterns and Actions ==========┆
0x1860…1880 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 0a 2a 20 4d 65 6e 75 3a 0a 0a 2a 20 50 61 74 74 65 72 6e 20   ┆==========   * Menu:  * Pattern ┆
0x1880…18a0 53 75 6d 6d 61 72 79 3a 3a 20 20 20 20 20 51 75 69 63 6b 20 6f 76 65 72 76 69 65 77 20 6f 66 20   ┆Summary::     Quick overview of ┆
0x18a0…18c0 70 61 74 74 65 72 6e 73 2e 0a 2a 20 52 65 67 65 78 70 20 53 75 6d 6d 61 72 79 3a 3a 20 20 20 20   ┆patterns. * Regexp Summary::    ┆
0x18c0…18e0 20 20 51 75 69 63 6b 20 6f 76 65 72 76 69 65 77 20 6f 66 20 72 65 67 75 6c 61 72 20 65 78 70 72   ┆  Quick overview of regular expr┆
0x18e0…1900 65 73 73 69 6f 6e 73 2e 0a 2a 20 41 63 74 69 6f 6e 73 20 53 75 6d 6d 61 72 79 3a 3a 20 20 20 20   ┆essions. * Actions Summary::    ┆
0x1900…1920 20 51 75 69 63 6b 20 6f 76 65 72 76 69 65 77 20 6f 66 20 61 63 74 69 6f 6e 73 2e 0a 0a 20 41 6e   ┆ Quick overview of actions.   An┆
[…truncated at 200 lines…]