|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: n
Length: 17793 (0x4581)
Names: »nawk.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/nawk.1«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆ u_ a_ l User Comman┆
0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 77 6b 28 31 29 0a 0a 0a 0a ┆ds nawk(1) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 6e 61 77 6b 20 2d 20 70 61 74 74 65 72 6e 20 73 63 61 6e 6e 69 6e 67 20 61 6e 64 20 70 72 ┆ nawk - pattern scanning and pr┆
0x00a0…00c0 6f 63 65 73 73 69 6e 67 20 6c 61 6e 67 75 61 67 65 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 ┆ocessing language S S S SY Y Y ┆
0x00c0…00e0 59 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 50 08 50 08 50 08 50 53 08 53 08 53 08 53 49 08 49 ┆YN N N NO O O OP P P PS S S SI I┆
0x00e0…0100 08 49 08 49 53 08 53 08 53 08 53 0a 20 20 20 20 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 77 ┆ I IS S S S n n n na a a aw┆
0x0100…0120 08 77 08 77 08 77 6b 08 6b 08 6b 08 6b 20 5b 2d 08 2d 08 2d 08 2d 46 08 46 08 46 08 46 20 5f 08 ┆ w w wk k k k [- - - -F F F F _ ┆
0x0120…0140 72 5f 08 65 5d 20 5b 2d 08 2d 08 2d 08 2d 76 08 76 08 76 08 76 20 5f 08 76 5f 08 61 5f 08 72 3d ┆r_ e] [- - - -v v v v _ v_ a_ r=┆
0x0140…0160 5f 08 76 5f 08 61 5f 08 6c 5f 08 75 5f 08 65 5d 20 5b 27 08 27 08 27 08 27 5f 08 70 5f 08 72 5f ┆_ v_ a_ l_ u_ e] [' ' ' '_ p_ r_┆
0x0160…0180 08 6f 5f 08 67 27 08 27 08 27 08 27 5d 20 5b 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 2e 2e 2e 5d 0a ┆ o_ g' ' ' '] [_ f_ i_ l_ e...] ┆
0x0180…01a0 0a 20 20 20 20 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 77 08 77 08 77 08 77 6b 08 6b 08 6b ┆ n n n na a a aw w w wk k k┆
0x01a0…01c0 08 6b 20 5b 2d 08 2d 08 2d 08 2d 46 08 46 08 46 08 46 20 5f 08 72 5f 08 65 5d 20 5b 2d 08 2d 08 ┆ k [- - - -F F F F _ r_ e] [- - ┆
0x01c0…01e0 2d 08 2d 76 08 76 08 76 08 76 20 5f 08 76 5f 08 61 5f 08 72 3d 5f 08 76 5f 08 61 5f 08 6c 5f 08 ┆- -v v v v _ v_ a_ r=_ v_ a_ l_ ┆
0x01e0…0200 75 5f 08 65 5d 20 5b 2d 08 2d 08 2d 08 2d 66 08 66 08 66 08 66 20 5f 08 70 5f 08 72 5f 08 6f 5f ┆u_ e] [- - - -f f f f _ p_ r_ o_┆
0x0200…0220 08 67 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5d 20 5b 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 2e 2e 2e ┆ g_ f_ i_ l_ e] [_ f_ i_ l_ e...┆
0x0220…0240 5d 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 ┆] D D D DE E E ES S S SC C C CR┆
0x0240…0260 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 ┆ R R RI I I IP P P PT T T TI I I┆
0x0260…0280 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 6e 5f 08 61 5f 08 77 5f ┆ IO O O ON N N N _ n_ a_ w_┆
0x0280…02a0 08 6b 20 73 63 61 6e 73 20 65 61 63 68 20 69 6e 70 75 74 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 ┆ k scans each input _ f_ i_ l_ e┆
0x02a0…02c0 20 66 6f 72 20 6c 69 6e 65 73 20 74 68 61 74 20 6d 61 74 63 68 20 61 6e 79 20 6f 66 20 61 20 73 ┆ for lines that match any of a s┆
0x02c0…02e0 65 74 0a 20 20 20 20 20 6f 66 20 70 61 74 74 65 72 6e 73 20 73 70 65 63 69 66 69 65 64 20 69 6e ┆et of patterns specified in┆
0x02e0…0300 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 2e 20 20 54 68 65 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 ┆ _ p_ r_ o_ g. The _ p_ r_ o_ g┆
0x0300…0320 20 73 74 72 69 6e 67 20 6d 75 73 74 20 62 65 0a 20 20 20 20 20 65 6e 63 6c 6f 73 65 64 20 69 6e ┆ string must be enclosed in┆
0x0320…0340 20 73 69 6e 67 6c 65 20 71 75 6f 74 65 73 20 28 27 08 27 08 27 08 27 29 20 74 6f 20 70 72 6f 74 ┆ single quotes (' ' ' ') to prot┆
0x0340…0360 65 63 74 20 69 74 20 66 72 6f 6d 20 74 68 65 20 73 68 65 6c 6c 2e 0a 20 20 20 20 20 46 6f 72 20 ┆ect it from the shell. For ┆
0x0360…0380 65 61 63 68 20 70 61 74 74 65 72 6e 20 69 6e 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 20 74 68 65 ┆each pattern in _ p_ r_ o_ g the┆
0x0380…03a0 72 65 20 6d 61 79 20 62 65 20 61 6e 20 61 73 73 6f 63 69 61 74 65 64 20 61 63 74 69 6f 6e 0a 20 ┆re may be an associated action ┆
0x03a0…03c0 20 20 20 20 70 65 72 66 6f 72 6d 65 64 20 77 68 65 6e 20 61 20 6c 69 6e 65 20 6f 66 20 61 20 5f ┆ performed when a line of a _┆
0x03c0…03e0 08 66 5f 08 69 5f 08 6c 5f 08 65 20 6d 61 74 63 68 65 73 20 74 68 65 20 70 61 74 74 65 72 6e 2e ┆ f_ i_ l_ e matches the pattern.┆
0x03e0…0400 20 20 54 68 65 0a 20 20 20 20 20 73 65 74 20 6f 66 20 70 61 74 74 65 72 6e 2d 61 63 74 69 6f 6e ┆ The set of pattern-action┆
0x0400…0420 20 73 74 61 74 65 6d 65 6e 74 73 20 6d 61 79 20 61 70 70 65 61 72 20 6c 69 74 65 72 61 6c 6c 79 ┆ statements may appear literally┆
0x0420…0440 20 61 73 0a 20 20 20 20 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 20 6f 72 20 69 6e 20 61 20 66 69 ┆ as _ p_ r_ o_ g or in a fi┆
0x0440…0460 6c 65 20 73 70 65 63 69 66 69 65 64 20 77 69 74 68 20 74 68 65 20 2d 08 2d 08 2d 08 2d 66 08 66 ┆le specified with the - - - -f f┆
0x0460…0480 08 66 08 66 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 6f 70 ┆ f f _ p_ r_ o_ g_ f_ i_ l_ e op┆
0x0480…04a0 74 69 6f 6e 2e 0a 20 20 20 20 20 49 6e 70 75 74 20 66 69 6c 65 73 20 61 72 65 20 72 65 61 64 20 ┆tion. Input files are read ┆
0x04a0…04c0 69 6e 20 6f 72 64 65 72 3b 20 69 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 66 69 6c 65 73 2c ┆in order; if there are no files,┆
0x04c0…04e0 20 74 68 65 0a 20 20 20 20 20 73 74 61 6e 64 61 72 64 20 69 6e 70 75 74 20 69 73 20 72 65 61 64 ┆ the standard input is read┆
0x04e0…0500 2e 20 20 54 68 65 20 66 69 6c 65 20 6e 61 6d 65 20 2d 08 2d 08 2d 08 2d 20 6d 65 61 6e 73 20 74 ┆. The file name - - - - means t┆
0x0500…0520 68 65 20 73 74 61 6e 64 61 72 64 0a 20 20 20 20 20 69 6e 70 75 74 2e 0a 0a 20 20 20 20 20 45 61 ┆he standard input. Ea┆
0x0520…0540 63 68 20 69 6e 70 75 74 20 6c 69 6e 65 20 69 73 20 6d 61 74 63 68 65 64 20 61 67 61 69 6e 73 74 ┆ch input line is matched against┆
0x0540…0560 20 74 68 65 20 70 61 74 74 65 72 6e 20 70 6f 72 74 69 6f 6e 20 6f 66 0a 20 20 20 20 20 65 76 65 ┆ the pattern portion of eve┆
0x0560…0580 72 79 20 70 61 74 74 65 72 6e 2d 61 63 74 69 6f 6e 20 73 74 61 74 65 6d 65 6e 74 3b 20 74 68 65 ┆ry pattern-action statement; the┆
0x0580…05a0 20 61 73 73 6f 63 69 61 74 65 64 20 61 63 74 69 6f 6e 20 69 73 0a 20 20 20 20 20 70 65 72 66 6f ┆ associated action is perfo┆
0x05a0…05c0 72 6d 65 64 20 66 6f 72 20 65 61 63 68 20 6d 61 74 63 68 65 64 20 70 61 74 74 65 72 6e 2e 20 20 ┆rmed for each matched pattern. ┆
0x05c0…05e0 41 6e 79 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 6f 66 20 74 68 65 20 66 6f 72 6d 0a 20 20 20 ┆Any _ f_ i_ l_ e of the form ┆
0x05e0…0600 20 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 3d 5f 08 76 5f 08 61 5f 08 ┆ v v v va a a ar r r r=_ v_ a_ ┆
0x0600…0620 6c 5f 08 75 5f 08 65 20 69 73 20 74 72 65 61 74 65 64 20 61 73 20 61 6e 20 61 73 73 69 67 6e 6d ┆l_ u_ e is treated as an assignm┆
0x0620…0640 65 6e 74 2c 20 6e 6f 74 20 61 20 66 69 6c 65 6e 61 6d 65 2c 20 61 6e 64 0a 20 20 20 20 20 69 73 ┆ent, not a filename, and is┆
0x0640…0660 20 65 78 65 63 75 74 65 64 20 61 74 20 74 68 65 20 74 69 6d 65 20 69 74 20 77 6f 75 6c 64 20 68 ┆ executed at the time it would h┆
0x0660…0680 61 76 65 20 62 65 65 6e 20 6f 70 65 6e 65 64 20 69 66 20 69 74 20 77 65 72 65 0a 20 20 20 20 20 ┆ave been opened if it were ┆
0x0680…06a0 61 20 66 69 6c 65 6e 61 6d 65 2c 20 61 6e 64 20 69 73 20 65 78 65 63 75 74 65 64 20 61 74 20 74 ┆a filename, and is executed at t┆
0x06a0…06c0 68 65 20 74 69 6d 65 20 69 74 20 77 6f 75 6c 64 20 68 61 76 65 20 62 65 65 6e 0a 20 20 20 20 20 ┆he time it would have been ┆
0x06c0…06e0 6f 70 65 6e 65 64 20 69 66 20 69 74 20 77 65 72 65 20 61 20 66 69 6c 65 6e 61 6d 65 2e 20 20 54 ┆opened if it were a filename. T┆
0x06e0…0700 68 65 20 6f 70 74 69 6f 6e 20 2d 08 2d 08 2d 08 2d 76 08 76 08 76 08 76 20 66 6f 6c 6c 6f 77 65 ┆he option - - - -v v v v followe┆
0x0700…0720 64 20 62 79 0a 20 20 20 20 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 3d ┆d by v v v va a a ar r r r=┆
0x0720…0740 5f 08 76 5f 08 61 5f 08 6c 5f 08 75 5f 08 65 20 69 73 20 61 6e 20 61 73 73 69 67 6e 6d 65 6e 74 ┆_ v_ a_ l_ u_ e is an assignment┆
0x0740…0760 20 74 6f 20 62 65 20 64 6f 6e 65 20 62 65 66 6f 72 65 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 20 ┆ to be done before _ p_ r_ o_ g ┆
0x0760…0780 69 73 20 65 78 65 2d 0a 20 20 20 20 20 63 75 74 65 64 3b 20 61 6e 79 20 6e 75 6d 62 65 72 20 6f ┆is exe- cuted; any number o┆
0x0780…07a0 66 20 2d 08 2d 08 2d 08 2d 76 08 76 08 76 08 76 20 6f 70 74 69 6f 6e 73 20 6d 61 79 20 62 65 20 ┆f - - - -v v v v options may be ┆
0x07a0…07c0 70 72 65 73 65 6e 74 2e 0a 0a 20 20 20 20 20 41 6e 20 69 6e 70 75 74 20 6c 69 6e 65 20 69 73 20 ┆present. An input line is ┆
0x07c0…07e0 6e 6f 72 6d 61 6c 6c 79 20 6d 61 64 65 20 75 70 20 6f 66 20 66 69 65 6c 64 73 20 73 65 70 61 72 ┆normally made up of fields separ┆
0x07e0…0800 61 74 65 64 20 62 79 0a 20 20 20 20 20 77 68 69 74 65 20 73 70 61 63 65 2e 20 20 28 54 68 69 73 ┆ated by white space. (This┆
0x0800…0820 20 64 65 66 61 75 6c 74 20 63 61 6e 20 62 65 20 63 68 61 6e 67 65 64 20 62 79 20 75 73 69 6e 67 ┆ default can be changed by using┆
0x0820…0840 20 74 68 65 20 46 53 0a 20 20 20 20 20 62 75 69 6c 74 2d 69 6e 20 76 61 72 69 61 62 6c 65 20 6f ┆ the FS built-in variable o┆
0x0840…0860 72 20 74 68 65 20 2d 08 2d 08 2d 08 2d 46 08 46 08 46 08 46 20 5f 08 72 5f 08 65 20 6f 70 74 69 ┆r the - - - -F F F F _ r_ e opti┆
0x0860…0880 6f 6e 2e 29 20 54 68 65 20 66 69 65 6c 64 73 20 61 72 65 0a 20 20 20 20 20 64 65 6e 6f 74 65 64 ┆on.) The fields are denoted┆
0x0880…08a0 20 24 08 24 08 24 08 24 31 08 31 08 31 08 31 2c 20 24 08 24 08 24 08 24 32 08 32 08 32 08 32 2c ┆ $ $ $ $1 1 1 1, $ $ $ $2 2 2 2,┆
0x08a0…08c0 20 2e 2e 2e 3b 20 24 08 24 08 24 08 24 30 08 30 08 30 08 30 20 72 65 66 65 72 73 20 74 6f 20 74 ┆ ...; $ $ $ $0 0 0 0 refers to t┆
0x08c0…08e0 68 65 20 65 6e 74 69 72 65 20 6c 69 6e 65 2e 0a 0a 20 20 20 20 20 41 20 70 61 74 74 65 72 6e 2d ┆he entire line. A pattern-┆
0x08e0…0900 61 63 74 69 6f 6e 20 73 74 61 74 65 6d 65 6e 74 20 68 61 73 20 74 68 65 20 66 6f 72 6d 3a 0a 0a ┆action statement has the form: ┆
0x0900…0920 20 20 20 20 20 20 20 20 20 20 5f 08 70 5f 08 61 5f 08 74 5f 08 74 5f 08 65 5f 08 72 5f 08 6e 20 ┆ _ p_ a_ t_ t_ e_ r_ n ┆
0x0920…0940 7b 08 7b 08 7b 08 7b 20 5f 08 61 5f 08 63 5f 08 74 5f 08 69 5f 08 6f 5f 08 6e 20 7d 08 7d 08 7d ┆{ { { { _ a_ c_ t_ i_ o_ n } } }┆
0x0940…0960 08 7d 0a 0a 20 20 20 20 20 45 69 74 68 65 72 20 70 61 74 74 65 72 6e 20 6f 72 20 61 63 74 69 6f ┆ } Either pattern or actio┆
0x0960…0980 6e 20 6d 61 79 20 62 65 20 6f 6d 69 74 74 65 64 2e 20 20 49 66 20 74 68 65 72 65 20 69 73 20 6e ┆n may be omitted. If there is n┆
0x0980…09a0 6f 0a 20 20 20 20 20 61 63 74 69 6f 6e 20 77 69 74 68 20 61 20 70 61 74 74 65 72 6e 2c 20 74 68 ┆o action with a pattern, th┆
0x09a0…09c0 65 20 6d 61 74 63 68 69 6e 67 20 6c 69 6e 65 20 69 73 20 70 72 69 6e 74 65 64 2e 20 20 49 66 0a ┆e matching line is printed. If ┆
0x09c0…09e0 20 20 20 20 20 74 68 65 72 65 20 69 73 20 6e 6f 20 70 61 74 74 65 72 6e 20 77 69 74 68 20 61 6e ┆ there is no pattern with an┆
0x09e0…0a00 20 61 63 74 69 6f 6e 2c 20 74 68 65 20 61 63 74 69 6f 6e 20 69 73 20 70 65 72 66 6f 72 6d 65 64 ┆ action, the action is performed┆
0x0a00…0a20 0a 20 20 20 20 20 6f 6e 20 65 76 65 72 79 20 69 6e 70 75 74 20 6c 69 6e 65 2e 20 20 50 61 74 74 ┆ on every input line. Patt┆
0x0a20…0a40 65 72 6e 2d 61 63 74 69 6f 6e 20 73 74 61 74 65 6d 65 6e 74 73 20 61 72 65 0a 20 20 20 20 20 73 ┆ern-action statements are s┆
0x0a40…0a60 65 70 61 72 61 74 65 64 20 62 79 20 6e 65 77 6c 69 6e 65 73 20 6f 72 20 73 65 6d 69 63 6f 6c 6f ┆eparated by newlines or semicolo┆
0x0a60…0a80 6e 73 2e 0a 0a 20 20 20 20 20 50 61 74 74 65 72 6e 73 20 61 72 65 20 61 72 62 69 74 72 61 72 79 ┆ns. Patterns are arbitrary┆
0x0a80…0aa0 20 42 6f 6f 6c 65 61 6e 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 73 20 28 21 08 21 08 21 08 21 2c 20 ┆ Boolean combinations (! ! ! !, ┆
0x0aa0…0ac0 7c 7c 2c 20 26 08 26 08 26 08 26 26 08 26 08 26 08 26 2c 20 61 6e 64 0a 20 20 20 20 20 70 61 72 ┆||, & & & && & & &, and par┆
0x0ac0…0ae0 65 6e 74 68 65 73 65 73 29 20 6f 66 20 72 65 6c 61 74 69 6f 6e 61 6c 20 65 78 70 72 65 73 73 69 ┆entheses) of relational expressi┆
0x0ae0…0b00 6f 6e 73 20 61 6e 64 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 2d 0a 20 20 20 20 20 73 69 6f ┆ons and regular expres- sio┆
0x0b00…0b20 6e 73 2e 20 20 41 20 72 65 6c 61 74 69 6f 6e 61 6c 20 65 78 70 72 65 73 73 69 6f 6e 20 69 73 20 ┆ns. A relational expression is ┆
0x0b20…0b40 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 20 20 20 20 20 20 20 20 20 ┆one of the following: ┆
0x0b40…0b60 20 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 ┆ _ e_ x_ p_ r_ e_ s_ s_ i_ o_ n ┆
0x0b60…0b80 5f 08 72 5f 08 65 5f 08 6c 5f 08 6f 5f 08 70 20 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f ┆_ r_ e_ l_ o_ p _ e_ x_ p_ r_ e_┆
0x0b80…0ba0 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 5f 08 65 5f 08 78 5f ┆ s_ s_ i_ o_ n _ e_ x_┆
0x0ba0…0bc0 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 5f 08 6d 5f 08 61 5f 08 ┆ p_ r_ e_ s_ s_ i_ o_ n _ m_ a_ ┆
0x0bc0…0be0 74 5f 08 63 5f 08 68 5f 08 6f 5f 08 70 20 5f 08 72 5f 08 65 5f 08 67 5f 08 75 5f 08 6c 5f 08 61 ┆t_ c_ h_ o_ p _ r_ e_ g_ u_ l_ a┆
0x0be0…0c00 5f 08 72 5f 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f ┆_ r__ e_ x_ p_ r_ e_ s_ s_ i_ o_┆
0x0c00…0c20 08 6e 0a 20 20 20 20 20 20 20 20 20 20 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f ┆ n _ e_ x_ p_ r_ e_ s_┆
0x0c20…0c40 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 20 5f 08 61 5f 08 ┆ s_ i_ o_ n i i i in n n n _ a_ ┆
0x0c40…0c60 72 5f 08 72 5f 08 61 5f 08 79 2d 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 0a 20 20 20 20 20 20 20 20 ┆r_ r_ a_ y-_ n_ a_ m_ e ┆
0x0c60…0c80 20 20 28 08 28 08 28 08 28 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 ┆ ( ( ( (_ e_ x_ p_ r_ e_ s_ s_ ┆
0x0c80…0ca0 69 5f 08 6f 5f 08 6e 2c 08 2c 08 2c 08 2c 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 ┆i_ o_ n, , , ,_ e_ x_ p_ r_ e_ s┆
0x0ca0…0cc0 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 2c 08 2c 08 2c 08 2c 20 2e 2e 2e 20 20 29 08 29 08 29 08 29 ┆_ s_ i_ o_ n, , , , ... ) ) ) )┆
0x0cc0…0ce0 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 20 5f 08 61 5f 08 72 5f 08 72 5f 08 61 5f 08 79 2d ┆ i i i in n n n _ a_ r_ r_ a_ y-┆
0x0ce0…0d00 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 0a 0a 20 20 20 20 20 77 68 65 72 65 20 61 20 5f 08 72 5f 08 ┆_ n_ a_ m_ e where a _ r_ ┆
0x0d00…0d20 65 5f 08 6c 5f 08 6f 5f 08 70 20 69 73 20 61 6e 79 20 6f 66 20 74 68 65 20 73 69 78 20 72 65 6c ┆e_ l_ o_ p is any of the six rel┆
0x0d20…0d40 61 74 69 6f 6e 61 6c 20 6f 70 65 72 61 74 6f 72 73 20 69 6e 20 43 2c 0a 20 20 20 20 20 61 6e 64 ┆ational operators in C, and┆
0x0d40…0d60 20 61 20 5f 08 6d 5f 08 61 5f 08 74 5f 08 63 5f 08 68 5f 08 6f 5f 08 70 20 69 73 20 65 69 74 68 ┆ a _ m_ a_ t_ c_ h_ o_ p is eith┆
0x0d60…0d80 65 72 20 7e 08 7e 08 7e 08 7e 20 28 63 6f 6e 74 61 69 6e 73 29 20 6f 72 20 21 08 21 08 21 08 21 ┆er ~ ~ ~ ~ (contains) or ! ! ! !┆
0x0d80…0da0 7e 08 7e 08 7e 08 7e 20 28 64 6f 65 73 20 6e 6f 74 20 63 6f 6e 2d 0a 20 20 20 20 20 74 61 69 6e ┆~ ~ ~ ~ (does not con- tain┆
0x0da0…0dc0 29 2e 20 20 41 6e 20 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f ┆). An _ e_ x_ p_ r_ e_ s_ s_ i_┆
0x0dc0…0de0 08 6f 5f 08 6e 20 69 73 20 61 6e 20 61 72 69 74 68 6d 65 74 69 63 20 65 78 70 72 65 73 73 69 6f ┆ o_ n is an arithmetic expressio┆
0x0de0…0e00 6e 2c 20 61 20 72 65 6c 61 2d 0a 20 20 20 20 20 74 69 6f 6e 61 6c 20 65 78 70 72 65 73 73 69 6f ┆n, a rela- tional expressio┆
0x0e00…0e20 6e 2c 20 74 68 65 20 73 70 65 63 69 61 6c 20 65 78 70 72 65 73 73 69 6f 6e 0a 0a 0a 0a 0a 0a 0a ┆n, the special expression ┆
0x0e20…0e40 0a 20 20 20 20 20 20 20 20 20 20 5f 08 76 5f 08 61 5f 08 72 20 69 08 69 08 69 08 69 6e 08 6e 08 ┆ _ v_ a_ r i i i in n ┆
0x0e40…0e60 6e 08 6e 20 5f 08 61 5f 08 72 5f 08 72 5f 08 61 5f 08 79 0a 0a 20 20 20 20 20 6f 72 20 61 20 42 ┆n n _ a_ r_ r_ a_ y or a B┆
0x0e60…0e80 6f 6f 6c 65 61 6e 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 73 65 2e 0a 0a 20 20 ┆oolean combination of these. ┆
0x0e80…0ea0 20 20 20 52 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 73 20 61 72 65 20 61 73 20 69 6e ┆ Regular expressions are as in┆
0x0ea0…0ec0 20 5f 08 65 5f 08 67 5f 08 72 5f 08 65 5f 08 70 28 31 29 2e 20 20 49 6e 20 70 61 74 74 65 72 6e ┆ _ e_ g_ r_ e_ p(1). In pattern┆
0x0ec0…0ee0 73 20 74 68 65 79 0a 20 20 20 20 20 6d 75 73 74 20 62 65 20 73 75 72 72 6f 75 6e 64 65 64 20 62 ┆s they must be surrounded b┆
0x0ee0…0f00 79 20 73 6c 61 73 68 65 73 2e 20 20 49 73 6f 6c 61 74 65 64 20 72 65 67 75 6c 61 72 20 65 78 70 ┆y slashes. Isolated regular exp┆
0x0f00…0f20 72 65 73 73 69 6f 6e 73 0a 20 20 20 20 20 69 6e 20 61 20 70 61 74 74 65 72 6e 20 61 70 70 6c 79 ┆ressions in a pattern apply┆
0x0f20…0f40 20 74 6f 20 74 68 65 20 65 6e 74 69 72 65 20 6c 69 6e 65 2e 20 20 52 65 67 75 6c 61 72 20 65 78 ┆ to the entire line. Regular ex┆
0x0f40…0f60 70 72 65 73 73 69 6f 6e 73 0a 20 20 20 20 20 6d 61 79 20 61 6c 73 6f 20 6f 63 63 75 72 20 69 6e ┆pressions may also occur in┆
0x0f60…0f80 20 72 65 6c 61 74 69 6f 6e 61 6c 20 65 78 70 72 65 73 73 69 6f 6e 73 2e 20 20 41 20 70 61 74 74 ┆ relational expressions. A patt┆
0x0f80…0fa0 65 72 6e 20 6d 61 79 0a 20 20 20 20 20 63 6f 6e 73 69 73 74 20 6f 66 20 74 77 6f 20 70 61 74 74 ┆ern may consist of two patt┆
0x0fa0…0fc0 65 72 6e 73 20 73 65 70 61 72 61 74 65 64 20 62 79 20 61 20 63 6f 6d 6d 61 3b 20 69 6e 20 74 68 ┆erns separated by a comma; in th┆
0x0fc0…0fe0 69 73 20 63 61 73 65 2c 0a 20 20 20 20 20 74 68 65 20 61 63 74 69 6f 6e 20 69 73 20 70 65 72 66 ┆is case, the action is perf┆
0x0fe0…1000 6f 72 6d 65 64 20 66 6f 72 20 61 6c 6c 20 6c 69 6e 65 73 20 62 65 74 77 65 65 6e 20 61 6e 20 6f ┆ormed for all lines between an o┆
0x1000…1020 63 63 75 72 72 65 6e 63 65 0a 20 20 20 20 20 6f 66 20 74 68 65 20 66 69 72 73 74 20 70 61 74 74 ┆ccurrence of the first patt┆
0x1020…1040 65 72 6e 20 61 6e 64 20 74 68 65 20 6e 65 78 74 20 6f 63 63 75 72 72 65 6e 63 65 20 6f 66 20 74 ┆ern and the next occurrence of t┆
0x1040…1060 68 65 20 73 65 63 6f 6e 64 0a 20 20 20 20 20 70 61 74 74 65 72 6e 2e 0a 0a 20 20 20 20 20 54 68 ┆he second pattern. Th┆
0x1060…1080 65 20 73 70 65 63 69 61 6c 20 70 61 74 74 65 72 6e 73 20 42 45 47 49 4e 20 61 6e 64 20 45 4e 44 ┆e special patterns BEGIN and END┆
0x1080…10a0 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 63 61 70 74 75 72 65 0a 20 20 20 20 20 63 6f 6e ┆ may be used to capture con┆
0x10a0…10c0 74 72 6f 6c 20 62 65 66 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 69 6e 70 75 74 20 6c 69 6e 65 ┆trol before the first input line┆
0x10c0…10e0 20 68 61 73 20 62 65 65 6e 20 72 65 61 64 20 61 6e 64 20 61 66 74 65 72 0a 20 20 20 20 20 74 68 ┆ has been read and after th┆
0x10e0…1100 65 20 6c 61 73 74 20 69 6e 70 75 74 20 6c 69 6e 65 20 68 61 73 20 62 65 65 6e 20 72 65 61 64 20 ┆e last input line has been read ┆
0x1100…1120 72 65 73 70 65 63 74 69 76 65 6c 79 2e 20 20 54 68 65 73 65 20 6b 65 79 2d 0a 20 20 20 20 20 77 ┆respectively. These key- w┆
0x1120…1140 6f 72 64 73 20 64 6f 20 6e 6f 74 20 63 6f 6d 62 69 6e 65 20 77 69 74 68 20 61 6e 79 20 6f 74 68 ┆ords do not combine with any oth┆
0x1140…1160 65 72 20 70 61 74 74 65 72 6e 73 2e 0a 0a 20 20 20 20 20 41 20 72 65 67 75 6c 61 72 20 65 78 70 ┆er patterns. A regular exp┆
0x1160…1180 72 65 73 73 69 6f 6e 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 ┆ression may be used to separate ┆
0x1180…11a0 66 69 65 6c 64 73 20 62 79 20 75 73 69 6e 67 0a 20 20 20 20 20 74 68 65 20 2d 08 2d 08 2d 08 2d ┆fields by using the - - - -┆
0x11a0…11c0 46 08 46 08 46 08 46 20 5f 08 72 5f 08 65 20 6f 70 74 69 6f 6e 20 6f 72 20 62 79 20 61 73 73 69 ┆F F F F _ r_ e option or by assi┆
0x11c0…11e0 67 6e 69 6e 67 20 74 68 65 20 65 78 70 72 65 73 73 69 6f 6e 20 74 6f 20 74 68 65 0a 20 20 20 20 ┆gning the expression to the ┆
0x11e0…1200 20 62 75 69 6c 74 2d 69 6e 20 76 61 72 69 61 62 6c 65 20 46 53 2e 20 54 68 65 20 64 65 66 61 75 ┆ built-in variable FS. The defau┆
0x1200…1220 6c 74 20 69 73 20 74 6f 20 69 67 6e 6f 72 65 20 6c 65 61 64 69 6e 67 0a 20 20 20 20 20 62 6c 61 ┆lt is to ignore leading bla┆
0x1220…1240 6e 6b 73 20 61 6e 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 66 69 65 6c 64 73 20 62 79 20 62 6c ┆nks and to separate fields by bl┆
0x1240…1260 61 6e 6b 73 20 61 6e 64 2f 6f 72 20 74 61 62 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 74 65 72 ┆anks and/or tab charac- ter┆
0x1260…1280 73 2e 20 20 48 6f 77 65 76 65 72 2c 20 69 66 20 46 53 20 69 73 20 61 73 73 69 67 6e 65 64 20 61 ┆s. However, if FS is assigned a┆
0x1280…12a0 20 76 61 6c 75 65 2c 20 6c 65 61 64 69 6e 67 20 62 6c 61 6e 6b 73 0a 20 20 20 20 20 61 72 65 20 ┆ value, leading blanks are ┆
0x12a0…12c0 6e 6f 20 6c 6f 6e 67 65 72 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 4f 74 68 65 72 20 62 ┆no longer ignored. Other b┆
0x12c0…12e0 75 69 6c 74 2d 69 6e 20 76 61 72 69 61 62 6c 65 73 20 69 6e 63 6c 75 64 65 3a 0a 0a 20 20 20 20 ┆uilt-in variables include: ┆
0x12e0…1300 20 20 20 20 20 20 41 52 47 43 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 ┆ ARGC command line┆
0x1300…1320 20 61 72 67 75 6d 65 6e 74 20 63 6f 75 6e 74 0a 0a 20 20 20 20 20 20 20 20 20 20 41 52 47 56 20 ┆ argument count ARGV ┆
0x1320…1340 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 61 72 67 75 6d 65 6e 74 20 61 ┆ command line argument a┆
0x1340…1360 72 72 61 79 0a 0a 20 20 20 20 20 20 20 20 20 20 45 4e 56 49 52 4f 4e 20 20 20 20 20 20 20 61 72 ┆rray ENVIRON ar┆
0x1360…1380 72 61 79 20 6f 66 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 3b 20 73 75 ┆ray of environment variables; su┆
0x1380…13a0 62 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 69 70 ┆b- scrip┆
0x13a0…13c0 74 73 20 61 72 65 20 6e 61 6d 65 73 0a 0a 20 20 20 20 20 20 20 20 20 20 46 49 4c 45 4e 41 4d 45 ┆ts are names FILENAME┆
0x13c0…13e0 20 20 20 20 20 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 69 6e 70 75 74 20 ┆ name of the current input ┆
0x13e0…1400 66 69 6c 65 0a 0a 20 20 20 20 20 20 20 20 20 20 46 4e 52 20 20 20 20 20 20 20 20 20 20 20 6f 72 ┆file FNR or┆
0x1400…1420 64 69 6e 61 6c 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 72 65 63 6f ┆dinal number of the current reco┆
0x1420…1440 72 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 ┆rd in th┆
0x1440…1460 65 20 63 75 72 72 65 6e 74 20 66 69 6c 65 0a 0a 20 20 20 20 20 20 20 20 20 20 46 53 20 20 20 20 ┆e current file FS ┆
0x1460…1480 20 20 20 20 20 20 20 20 69 6e 70 75 74 20 66 69 65 6c 64 20 73 65 70 61 72 61 74 6f 72 20 72 65 ┆ input field separator re┆
0x1480…14a0 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆gular expression ┆
0x14a0…14c0 20 20 20 20 20 20 20 20 20 28 64 65 66 61 75 6c 74 20 62 6c 61 6e 6b 20 61 6e 64 20 74 61 62 29 ┆ (default blank and tab)┆
0x14c0…14e0 0a 0a 20 20 20 20 20 20 20 20 20 20 4e 46 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 ┆ NF number┆
0x14e0…1500 20 6f 66 20 66 69 65 6c 64 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 72 65 63 6f 72 64 ┆ of fields in the current record┆
0x1500…1520 0a 0a 20 20 20 20 20 20 20 20 20 20 4e 52 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 64 69 6e 61 ┆ NR ordina┆
0x1520…1540 6c 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 72 65 63 6f 72 64 0a 0a ┆l number of the current record ┆
0x1540…1560 20 20 20 20 20 20 20 20 20 20 4f 46 4d 54 20 20 20 20 20 20 20 20 20 20 6f 75 74 70 75 74 20 66 ┆ OFMT output f┆
0x1560…1580 6f 72 6d 61 74 20 66 6f 72 20 6e 75 6d 62 65 72 73 20 28 64 65 66 61 75 6c 74 20 25 08 25 08 25 ┆ormat for numbers (default % % %┆
0x1580…15a0 08 25 2e 08 2e 08 2e 08 2e 36 08 36 08 36 08 36 67 08 67 08 67 08 67 29 0a 0a 20 20 20 20 20 20 ┆ %. . . .6 6 6 6g g g g) ┆
0x15a0…15c0 20 20 20 20 4f 46 53 20 20 20 20 20 20 20 20 20 20 20 6f 75 74 70 75 74 20 66 69 65 6c 64 20 73 ┆ OFS output field s┆
0x15c0…15e0 65 70 61 72 61 74 6f 72 20 28 64 65 66 61 75 6c 74 20 62 6c 61 6e 6b 29 0a 0a 20 20 20 20 20 20 ┆eparator (default blank) ┆
0x15e0…1600 20 20 20 20 4f 52 53 20 20 20 20 20 20 20 20 20 20 20 6f 75 74 70 75 74 20 72 65 63 6f 72 64 20 ┆ ORS output record ┆
0x1600…1620 73 65 70 61 72 61 74 6f 72 20 28 64 65 66 61 75 6c 74 20 6e 65 77 2d 0a 20 20 20 20 20 20 20 20 ┆separator (default new- ┆
0x1620…1640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 29 0a 0a 20 20 20 20 20 20 20 20 20 ┆ line) ┆
0x1640…1660 20 52 53 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 70 75 74 20 72 65 63 6f 72 64 20 73 65 70 61 ┆ RS input record sepa┆
0x1660…1680 72 61 74 6f 72 20 28 64 65 66 61 75 6c 74 20 6e 65 77 2d 6c 69 6e 65 29 0a 0a 20 20 20 20 20 20 ┆rator (default new-line) ┆
0x1680…16a0 20 20 20 20 53 55 42 53 45 50 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 65 73 20 6d 75 6c 74 ┆ SUBSEP separates mult┆
0x16a0…16c0 69 70 6c 65 20 73 75 62 73 63 72 69 70 74 73 20 28 64 65 66 61 75 6c 74 20 69 73 0a 20 20 20 20 ┆iple subscripts (default is ┆
0x16c0…16e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 33 34 29 0a 0a 20 20 20 20 20 41 ┆ 034) A┆
0x16e0…1700 6e 20 61 63 74 69 6f 6e 20 69 73 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 20 73 74 61 74 65 6d ┆n action is a sequence of statem┆
0x1700…1720 65 6e 74 73 2e 20 20 41 20 73 74 61 74 65 6d 65 6e 74 20 6d 61 79 20 62 65 0a 20 20 20 20 20 6f ┆ents. A statement may be o┆
0x1720…1740 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 ┆ne of the following: ┆
0x1740…1760 20 20 20 20 20 69 08 69 08 69 08 69 66 08 66 08 66 08 66 20 28 20 5f 08 65 5f 08 78 5f 08 70 5f ┆ i i i if f f f ( _ e_ x_ p_┆
0x1760…1780 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 29 20 5f 08 73 5f 08 74 5f 08 61 ┆ r_ e_ s_ s_ i_ o_ n ) _ s_ t_ a┆
0x1780…17a0 5f 08 74 5f 08 65 5f 08 6d 5f 08 65 5f 08 6e 5f 08 74 20 5b 20 65 08 65 08 65 08 65 6c 08 6c 08 ┆_ t_ e_ m_ e_ n_ t [ e e e el l ┆
0x17a0…17c0 6c 08 6c 73 08 73 08 73 08 73 65 08 65 08 65 08 65 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 5f 08 ┆l ls s s se e e e _ s_ t_ a_ t_ ┆
0x17c0…17e0 65 5f 08 6d 5f 08 65 5f 08 6e 5f 08 74 20 5d 0a 20 20 20 20 20 20 20 20 20 20 77 08 77 08 77 08 ┆e_ m_ e_ n_ t ] w w w ┆
0x17e0…1800 77 68 08 68 08 68 08 68 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 28 20 ┆wh h h hi i i il l l le e e e ( ┆
0x1800…1820 5f 08 65 5f 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 29 ┆_ e_ x_ p_ r_ e_ s_ s_ i_ o_ n )┆
0x1820…1840 20 5f 08 73 5f 08 74 5f 08 61 5f 08 74 5f 08 65 5f 08 6d 5f 08 65 5f 08 6e 5f 08 74 0a 20 20 20 ┆ _ s_ t_ a_ t_ e_ m_ e_ n_ t ┆
0x1840…1860 20 20 20 20 20 20 20 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 20 5f 08 73 5f 08 74 5f 08 61 5f ┆ d d d do o o o _ s_ t_ a_┆
0x1860…1880 08 74 5f 08 65 5f 08 6d 5f 08 65 5f 08 6e 5f 08 74 20 77 08 77 08 77 08 77 68 08 68 08 68 08 68 ┆ t_ e_ m_ e_ n_ t w w w wh h h h┆
0x1880…18a0 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 28 20 5f 08 65 5f 08 78 5f 08 ┆i i i il l l le e e e ( _ e_ x_ ┆
0x18a0…18c0 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 29 0a 20 20 20 20 20 20 20 ┆p_ r_ e_ s_ s_ i_ o_ n ) ┆
0x18c0…18e0 20 20 20 66 08 66 08 66 08 66 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 20 28 20 5f 08 65 5f 08 ┆ f f f fo o o or r r r ( _ e_ ┆
0x18e0…1900 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 3b 20 5f 08 65 5f ┆x_ p_ r_ e_ s_ s_ i_ o_ n ; _ e_┆
0x1900…1920 08 78 5f 08 70 5f 08 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 3b 20 5f 08 65 ┆ x_ p_ r_ e_ s_ s_ i_ o_ n ; _ e┆
[…truncated at 200 lines…]