DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: e

⟦b33a82062⟧

    Length: 30455 (0x76f7)
    Names: »ed.1«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat1/ed.1« 

Default Hex Dump

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 20 20 65 64 28 31 29 0a 0a 0a 0a   ┆ds                     ed(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 65 64 2c 20 65 64 63 72 79 70 74 20 2d 20 74 65 78 74 20 65 64 69 74 6f 72 0a 0a 53 08 53   ┆  ed, edcrypt - text editor  S S┆
0x00a0…00c0 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41   ┆ S SY Y Y YN N N NT T T TA A A A┆
0x00c0…00e0 58 08 58 08 58 08 58 0a 20 20 20 20 20 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 5b 20 2d 08   ┆X X X X      e e e ed d d d [ - ┆
0x00e0…0100 2d 08 2d 08 2d 20 5d 20 5b 20 2d 08 2d 08 2d 08 2d 75 08 75 08 75 08 75 20 5d 20 5b 20 2d 08 2d   ┆- - - ] [ - - - -u u u u ] [ - -┆
0x0100…0120 08 2d 08 2d 70 08 70 08 70 08 70 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 5d   ┆ - -p p p p _ s_ t_ r_ i_ n_ g ]┆
0x0120…0140 20 5b 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 5d 0a 20 20 20 20 20 65 08 65 08 65 08 65 64 08   ┆ [ _ f_ i_ l_ e ]      e e e ed ┆
0x0140…0160 64 08 64 08 64 63 08 63 08 63 08 63 72 08 72 08 72 08 72 79 08 79 08 79 08 79 70 08 70 08 70 08   ┆d d dc c c cr r r ry y y yp p p ┆
0x0160…0180 70 74 08 74 08 74 08 74 20 5b 20 2d 08 2d 08 2d 08 2d 20 5d 20 5b 20 2d 08 2d 08 2d 08 2d 78 08   ┆pt t t t [ - - - - ] [ - - - -x ┆
0x0180…01a0 78 08 78 08 78 20 5d 20 5b 20 2d 08 2d 08 2d 08 2d 75 08 75 08 75 08 75 20 5d 20 5b 20 2d 08 2d   ┆x x x ] [ - - - -u u u u ] [ - -┆
0x01a0…01c0 08 2d 08 2d 70 08 70 08 70 08 70 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 5d   ┆ - -p p p p _ s_ t_ r_ i_ n_ g ]┆
0x01c0…01e0 20 5b 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 5d 0a 0a 20 20 20 20 20 54 68 65 20 63 6f 6d 6d   ┆ [ _ f_ i_ l_ e ]       The comm┆
0x01e0…0200 61 6e 64 20 5f 08 65 5f 08 64 20 69 73 20 61 20 74 65 78 74 20 65 64 69 74 6f 72 2e 20 20 49 66   ┆and _ e_ d is a text editor.  If┆
0x0200…0220 20 74 68 65 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 61 72 67 75 6d 65 6e 74 20 69 73 0a 20 20   ┆ the _ f_ i_ l_ e argument is   ┆
0x0220…0240 20 20 20 67 69 76 65 6e 2c 20 5f 08 65 5f 08 64 20 73 69 6d 75 6c 61 74 65 73 20 61 6e 20 65 08   ┆   given, _ e_ d simulates an e ┆
0x0240…0260 65 08 65 08 65 20 63 6f 6d 6d 61 6e 64 20 28 73 65 65 20 62 65 6c 6f 77 29 20 6f 6e 20 74 68 65   ┆e e e command (see below) on the┆
0x0260…0280 20 6e 61 6d 65 64 0a 20 20 20 20 20 66 69 6c 65 3b 20 74 68 61 74 20 69 73 2c 20 74 68 65 20 66   ┆ named      file; that is, the f┆
0x0280…02a0 69 6c 65 20 69 73 20 72 65 61 64 20 69 6e 74 6f 20 74 68 65 20 5f 08 65 5f 08 64 20 62 75 66 66   ┆ile is read into the _ e_ d buff┆
0x02a0…02c0 65 72 20 73 6f 20 74 68 61 74 0a 20 20 20 20 20 69 74 20 63 61 6e 20 62 65 20 65 64 69 74 65 64   ┆er so that      it can be edited┆
0x02c0…02e0 2e 0a 0a 20 20 20 20 20 54 68 65 20 6f 70 74 69 6f 6e 20 2d 08 2d 08 2d 08 2d 20 73 75 70 70 72   ┆.       The option - - - - suppr┆
0x02e0…0300 65 73 73 65 73 20 74 68 65 20 70 72 69 6e 74 69 6e 67 20 6f 66 20 63 68 61 72 61 63 74 65 72 20   ┆esses the printing of character ┆
0x0300…0320 63 6f 75 6e 74 73 20 62 79 0a 20 20 20 20 20 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 72 08   ┆counts by      e e e e, , , , r ┆
0x0320…0340 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 61 6e 64 20 77 08 77 08 77 08 77 20 63 6f 6d 6d 61 6e 64   ┆r r r, , , , and w w w w command┆
0x0340…0360 73 2c 20 6f 66 20 64 69 61 67 6e 6f 73 74 69 63 73 20 66 72 6f 6d 20 65 08 65 08 65 08 65 20 61   ┆s, of diagnostics from e e e e a┆
0x0360…0380 6e 64 20 71 08 71 08 71 08 71 20 63 6f 6d 6d 61 6e 64 73 2c 0a 20 20 20 20 20 61 6e 64 20 6f 66   ┆nd q q q q commands,      and of┆
0x0380…03a0 20 74 68 65 20 21 20 70 72 6f 6d 70 74 20 61 66 74 65 72 20 61 20 21 08 21 08 21 08 21 5f 08 63   ┆ the ! prompt after a ! ! ! !_ c┆
0x03a0…03c0 5f 08 6f 5f 08 6d 5f 08 6d 5f 08 61 5f 08 6e 5f 08 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 2d 08   ┆_ o_ m_ m_ a_ n_ d.       The - ┆
0x03c0…03e0 2d 08 2d 08 2d 70 08 70 08 70 08 70 20 6f 70 74 69 6f 6e 20 61 6c 6c 6f 77 73 20 74 68 65 20 75   ┆- - -p p p p option allows the u┆
0x03e0…0400 73 65 72 20 74 6f 20 73 70 65 63 69 66 79 20 61 20 70 72 6f 6d 70 74 20 73 74 72 69 6e 67 2e 0a   ┆ser to specify a prompt string. ┆
0x0400…0420 0a 20 20 20 20 20 54 68 65 20 2d 08 2d 08 2d 08 2d 75 08 75 08 75 08 75 20 6f 70 74 69 6f 6e 20   ┆      The - - - -u u u u option ┆
0x0420…0440 63 61 75 73 65 73 20 61 6c 6c 20 6c 6f 77 65 72 20 63 61 73 65 20 74 65 78 74 20 69 6e 20 74 68   ┆causes all lower case text in th┆
0x0440…0460 65 20 62 75 66 66 65 72 20 74 6f 20 62 65 0a 20 20 20 20 20 63 6f 6e 76 65 72 74 65 64 20 74 6f   ┆e buffer to be      converted to┆
0x0460…0480 20 75 70 70 65 72 20 63 61 73 65 2e 0a 0a 20 20 20 20 20 5f 08 65 5f 08 64 20 6f 70 65 72 61 74   ┆ upper case.       _ e_ d operat┆
0x0480…04a0 65 73 20 6f 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 66 69 6c 65 20 69 74 20 69 73 20 65   ┆es on a copy of the file it is e┆
0x04a0…04c0 64 69 74 69 6e 67 3b 20 63 68 61 6e 67 65 73 0a 20 20 20 20 20 6d 61 64 65 20 74 6f 20 74 68 65   ┆diting; changes      made to the┆
0x04c0…04e0 20 63 6f 70 79 20 68 61 76 65 20 6e 6f 20 65 66 66 65 63 74 20 6f 6e 20 74 68 65 20 66 69 6c 65   ┆ copy have no effect on the file┆
0x04e0…0500 20 75 6e 74 69 6c 20 61 20 28 77 72 69 74 65 29 0a 20 20 20 20 20 63 6f 6d 6d 61 6e 64 20 69 73   ┆ until a (write)      command is┆
0x0500…0520 20 67 69 76 65 6e 2e 20 20 54 68 65 20 63 6f 70 79 20 6f 66 20 74 68 65 20 74 65 78 74 20 62 65   ┆ given.  The copy of the text be┆
0x0520…0540 69 6e 67 20 65 64 69 74 65 64 20 72 65 73 69 64 65 73 0a 20 20 20 20 20 69 6e 20 6f 6e 65 20 74   ┆ing edited resides      in one t┆
0x0540…0560 65 6d 70 6f 72 61 72 79 20 62 75 66 66 65 72 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 5f 08 65 5f   ┆emporary buffer file.       _ e_┆
0x0560…0580 08 64 5f 08 63 5f 08 72 5f 08 79 5f 08 70 5f 08 74 20 77 6f 72 6b 73 20 6c 69 6b 65 20 5f 08 65   ┆ d_ c_ r_ y_ p_ t works like _ e┆
0x0580…05a0 5f 08 64 2c 20 65 78 63 65 70 74 20 74 68 61 74 20 5f 08 65 5f 08 64 5f 08 63 5f 08 72 5f 08 79   ┆_ d, except that _ e_ d_ c_ r_ y┆
0x05a0…05c0 5f 08 70 5f 08 74 20 72 65 61 64 73 20 61 6e 64 20 77 72 69 74 65 73 0a 20 20 20 20 20 65 6e 63   ┆_ p_ t reads and writes      enc┆
0x05c0…05e0 72 79 70 74 65 64 20 66 69 6c 65 73 2e 20 54 68 75 73 2c 20 5f 08 65 5f 08 64 5f 08 63 5f 08 72   ┆rypted files. Thus, _ e_ d_ c_ r┆
0x05e0…0600 5f 08 79 5f 08 70 5f 08 74 20 63 61 6e 20 72 65 61 64 20 66 69 6c 65 73 20 65 6e 63 72 79 70 74   ┆_ y_ p_ t can read files encrypt┆
0x0600…0620 65 64 20 62 79 0a 20 20 20 20 20 5f 08 63 5f 08 72 5f 08 79 5f 08 70 5f 08 74 28 31 29 2c 20 61   ┆ed by      _ c_ r_ y_ p_ t(1), a┆
0x0620…0640 6e 64 20 69 74 20 63 61 6e 20 77 72 69 74 65 20 61 6e 20 65 6e 63 72 79 70 74 65 64 20 66 69 6c   ┆nd it can write an encrypted fil┆
0x0640…0660 65 2c 20 63 6f 6d 70 61 74 69 62 6c 65 0a 20 20 20 20 20 77 69 74 68 20 5f 08 63 5f 08 72 5f 08   ┆e, compatible      with _ c_ r_ ┆
0x0660…0680 79 5f 08 70 5f 08 74 2d 67 65 6e 65 72 61 74 65 64 20 66 69 6c 65 73 2e 20 20 5f 08 65 5f 08 64   ┆y_ p_ t-generated files.  _ e_ d┆
0x0680…06a0 5f 08 63 5f 08 72 5f 08 79 5f 08 70 5f 08 74 20 6d 75 73 74 20 61 6c 77 61 79 73 20 62 65 20 69   ┆_ c_ r_ y_ p_ t must always be i┆
0x06a0…06c0 6e 76 6f 6b 65 64 0a 20 20 20 20 20 77 69 74 68 20 74 68 65 20 2d 08 2d 08 2d 08 2d 78 08 78 08   ┆nvoked      with the - - - -x x ┆
0x06c0…06e0 78 08 78 20 6f 70 74 69 6f 6e 20 74 6f 20 75 73 65 20 65 6e 63 72 79 70 74 69 6f 6e 20 2d 20 69   ┆x x option to use encryption - i┆
0x06e0…0700 66 20 6e 6f 74 2c 20 69 74 20 77 6f 72 6b 73 20 6a 75 73 74 0a 20 20 20 20 20 6c 69 6b 65 20 6f   ┆f not, it works just      like o┆
0x0700…0720 72 64 69 6e 61 72 79 20 5f 08 65 5f 08 64 2e 20 20 57 68 65 6e 20 5f 08 65 5f 08 64 5f 08 63 5f   ┆rdinary _ e_ d.  When _ e_ d_ c_┆
0x0720…0740 08 72 5f 08 79 5f 08 70 5f 08 74 20 73 74 61 72 74 73 20 75 70 2c 20 69 74 20 70 72 6f 6d 70 74   ┆ r_ y_ p_ t starts up, it prompt┆
0x0740…0760 73 20 74 68 65 0a 20 20 20 20 20 75 73 65 72 20 66 6f 72 20 61 6e 20 5f 08 65 5f 08 6e 5f 08 63   ┆s the      user for an _ e_ n_ c┆
0x0760…0780 5f 08 72 5f 08 79 5f 08 70 5f 08 74 5f 08 69 5f 08 6f 5f 08 6e 20 5f 08 6b 5f 08 65 5f 08 79 2c   ┆_ r_ y_ p_ t_ i_ o_ n _ k_ e_ y,┆
0x0780…07a0 20 6a 75 73 74 20 6c 69 6b 65 20 5f 08 63 5f 08 72 5f 08 79 5f 08 70 5f 08 74 28 31 29 2e 0a 0a   ┆ just like _ c_ r_ y_ p_ t(1).  ┆
0x07a0…07c0 20 20 20 20 20 43 6f 6d 6d 61 6e 64 73 20 74 6f 20 5f 08 65 5f 08 64 20 68 61 76 65 20 61 20 73   ┆     Commands to _ e_ d have a s┆
0x07c0…07e0 69 6d 70 6c 65 20 61 6e 64 20 72 65 67 75 6c 61 72 20 73 74 72 75 63 74 75 72 65 3a 20 7a 65 72   ┆imple and regular structure: zer┆
0x07e0…0800 6f 2c 0a 20 20 20 20 20 6f 6e 65 2c 20 6f 72 20 74 77 6f 20 5f 08 61 5f 08 64 5f 08 64 5f 08 72   ┆o,      one, or two _ a_ d_ d_ r┆
0x0800…0820 5f 08 65 5f 08 73 5f 08 73 5f 08 65 5f 08 73 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 73 69   ┆_ e_ s_ s_ e_ s followed by a si┆
0x0820…0840 6e 67 6c 65 2d 63 68 61 72 61 63 74 65 72 20 5f 08 63 5f 08 6f 5f 08 6d 5f 08 2d 0a 20 20 20 20   ┆ngle-character _ c_ o_ m_ -     ┆
0x0840…0860 20 5f 08 6d 5f 08 61 5f 08 6e 5f 08 64 2c 20 70 6f 73 73 69 62 6c 79 20 66 6f 6c 6c 6f 77 65 64   ┆ _ m_ a_ n_ d, possibly followed┆
0x0860…0880 20 62 79 20 70 61 72 61 6d 65 74 65 72 73 20 74 6f 20 74 68 61 74 20 63 6f 6d 6d 61 6e 64 2e 0a   ┆ by parameters to that command. ┆
0x0880…08a0 20 20 20 20 20 54 68 65 73 65 20 61 64 64 72 65 73 73 65 73 20 73 70 65 63 69 66 79 20 6f 6e 65   ┆     These addresses specify one┆
0x08a0…08c0 20 6f 72 20 6d 6f 72 65 20 6c 69 6e 65 73 20 69 6e 20 74 68 65 20 62 75 66 66 65 72 2e 0a 20 20   ┆ or more lines in the buffer.   ┆
0x08c0…08e0 20 20 20 45 76 65 72 79 20 63 6f 6d 6d 61 6e 64 20 74 68 61 74 20 72 65 71 75 69 72 65 73 20 61   ┆   Every command that requires a┆
0x08e0…0900 64 64 72 65 73 73 65 73 20 68 61 73 20 64 65 66 61 75 6c 74 20 61 64 64 72 65 73 73 65 73 2c 0a   ┆ddresses has default addresses, ┆
0x0900…0920 20 20 20 20 20 73 6f 20 74 68 65 20 61 64 64 72 65 73 73 65 73 20 63 61 6e 20 76 65 72 79 20 6f   ┆     so the addresses can very o┆
0x0920…0940 66 74 65 6e 20 62 65 20 6f 6d 69 74 74 65 64 2e 0a 0a 20 20 20 20 20 49 6e 20 67 65 6e 65 72 61   ┆ften be omitted.       In genera┆
0x0940…0960 6c 2c 20 6f 6e 6c 79 20 6f 6e 65 20 63 6f 6d 6d 61 6e 64 20 6d 61 79 20 61 70 70 65 61 72 20 6f   ┆l, only one command may appear o┆
0x0960…0980 6e 20 61 20 6c 69 6e 65 2e 20 20 43 65 72 74 61 69 6e 0a 20 20 20 20 20 63 6f 6d 6d 61 6e 64 73   ┆n a line.  Certain      commands┆
0x0980…09a0 20 61 6c 6c 6f 77 20 74 68 65 20 69 6e 70 75 74 20 6f 66 20 74 65 78 74 2e 20 20 54 68 69 73 20   ┆ allow the input of text.  This ┆
0x09a0…09c0 74 65 78 74 20 69 73 20 70 6c 61 63 65 64 20 69 6e 0a 20 20 20 20 20 74 68 65 20 61 70 70 72 6f   ┆text is placed in      the appro┆
0x09c0…09e0 70 72 69 61 74 65 20 70 6c 61 63 65 20 69 6e 20 74 68 65 20 62 75 66 66 65 72 2e 20 20 57 68 69   ┆priate place in the buffer.  Whi┆
0x09e0…0a00 6c 65 20 5f 08 65 5f 08 64 20 69 73 20 61 63 63 65 70 74 69 6e 67 0a 20 20 20 20 20 74 65 78 74   ┆le _ e_ d is accepting      text┆
0x0a00…0a20 2c 20 69 74 20 69 73 20 73 61 69 64 20 74 6f 20 62 65 20 69 6e 20 5f 08 69 5f 08 6e 5f 08 70 5f   ┆, it is said to be in _ i_ n_ p_┆
0x0a20…0a40 08 75 5f 08 74 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 2e 20 20 49 6e 20 74 68 69 73 20 6d 6f 64   ┆ u_ t _ m_ o_ d_ e.  In this mod┆
0x0a40…0a60 65 2c 20 5f 08 6e 5f 08 6f 20 63 6f 6d 2d 0a 20 20 20 20 20 6d 61 6e 64 73 20 61 72 65 20 72 65   ┆e, _ n_ o com-      mands are re┆
0x0a60…0a80 63 6f 67 6e 69 7a 65 64 3b 20 61 6c 6c 20 69 6e 70 75 74 20 69 73 20 6d 65 72 65 6c 79 20 63 6f   ┆cognized; all input is merely co┆
0x0a80…0aa0 6c 6c 65 63 74 65 64 2e 20 20 49 6e 70 75 74 0a 20 20 20 20 20 6d 6f 64 65 20 69 73 20 6c 65 66   ┆llected.  Input      mode is lef┆
0x0aa0…0ac0 74 20 62 79 20 74 79 70 69 6e 67 20 61 20 70 65 72 69 6f 64 20 28 2e 08 2e 08 2e 08 2e 29 20 61   ┆t by typing a period (. . . .) a┆
0x0ac0…0ae0 6c 6f 6e 65 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 0a 20 20 20 20 20 6f 66 20 61 20   ┆lone at the beginning      of a ┆
0x0ae0…0b00 6c 69 6e 65 2e 0a 0a 20 20 20 20 20 5f 08 65 5f 08 64 20 73 75 70 70 6f 72 74 73 20 61 20 6c 69   ┆line.       _ e_ d supports a li┆
0x0b00…0b20 6d 69 74 65 64 20 66 6f 72 6d 20 6f 66 20 72 65 67 75 6c 61 72 2d 65 78 70 72 65 73 73 69 6f 6e   ┆mited form of regular-expression┆
0x0b20…0b40 20 6e 6f 74 61 74 69 6f 6e 3b 0a 20 20 20 20 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69   ┆ notation;      regular expressi┆
0x0b40…0b60 6f 6e 73 20 61 72 65 20 75 73 65 64 20 69 6e 20 61 64 64 72 65 73 73 65 73 20 74 6f 20 73 70 65   ┆ons are used in addresses to spe┆
0x0b60…0b80 63 69 66 79 20 6c 69 6e 65 73 0a 20 20 20 20 20 61 6e 64 20 69 6e 20 73 6f 6d 65 20 63 6f 6d 6d   ┆cify lines      and in some comm┆
0x0b80…0ba0 61 6e 64 73 20 28 65 2e 67 2e 2c 20 73 08 73 08 73 08 73 29 20 74 6f 20 73 70 65 63 69 66 79 20   ┆ands (e.g., s s s s) to specify ┆
0x0ba0…0bc0 70 6f 72 74 69 6f 6e 73 20 6f 66 20 61 20 6c 69 6e 65 0a 20 20 20 20 20 74 68 61 74 20 61 72 65   ┆portions of a line      that are┆
0x0bc0…0be0 20 74 6f 20 62 65 20 73 75 62 73 74 69 74 75 74 65 64 2e 20 20 41 20 72 65 67 75 6c 61 72 20 65   ┆ to be substituted.  A regular e┆
0x0be0…0c00 78 70 72 65 73 73 69 6f 6e 20 28 52 45 29 0a 20 20 20 20 20 73 70 65 63 69 66 69 65 73 20 61 20   ┆xpression (RE)      specifies a ┆
0x0c00…0c20 73 65 74 20 6f 66 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 73 2e 20 20 41 20 6d 65 6d   ┆set of character strings.  A mem┆
0x0c20…0c40 62 65 72 20 6f 66 20 74 68 69 73 20 73 65 74 0a 20 20 20 20 20 6f 66 20 73 74 72 69 6e 67 73 20   ┆ber of this set      of strings ┆
0x0c40…0c60 69 73 20 73 61 69 64 20 74 6f 20 62 65 20 60 60 6d 61 74 63 68 65 64 27 27 20 62 79 20 74 68 65   ┆is said to be ``matched'' by the┆
0x0c60…0c80 20 52 45 2e 20 20 54 68 65 20 52 45 73 0a 20 20 20 20 20 61 6c 6c 6f 77 65 64 20 62 79 20 5f 08   ┆ RE.  The REs      allowed by _ ┆
0x0c80…0ca0 65 5f 08 64 20 61 72 65 20 63 6f 6e 73 74 72 75 63 74 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a   ┆e_ d are constructed as follows:┆
0x0ca0…0cc0 0a 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6f 6e 65 2d 63 68 61 72 61 63 74   ┆       The following one-charact┆
0x0cc0…0ce0 65 72 20 52 45 73 20 6d 61 74 63 68 20 61 20 73 69 6e 67 6c 65 20 63 68 61 72 61 63 74 65 72 3a   ┆er REs match a single character:┆
0x0ce0…0d00 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 31 2e 31 20 20 20 20 41 6e 20 6f 72 64 69 6e 61 72 79 20   ┆             1.1    An ordinary ┆
0x0d00…0d20 63 68 61 72 61 63 74 65 72 20 28 5f 08 6e 5f 08 6f 5f 08 74 20 6f 6e 65 20 6f 66 20 74 68 6f 73   ┆character (_ n_ o_ t one of thos┆
0x0d20…0d40 65 20 64 69 73 63 75 73 73 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 31 2e 32 20 62   ┆e discussed in             1.2 b┆
0x0d40…0d60 65 6c 6f 77 29 20 69 73 20 61 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 74 68 61 74   ┆elow) is a one-character RE that┆
0x0d60…0d80 20 6d 61 74 63 68 65 73 20 69 74 73 65 6c 66 2e 0a 0a 20 20 20 20 20 31 2e 32 20 20 20 20 41 20   ┆ matches itself.       1.2    A ┆
0x0d80…0da0 62 61 63 6b 73 6c 61 73 68 20 28 5c 08 5c 08 5c 08 5c 29 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20   ┆backslash (\ \ \ \) followed by ┆
0x0da0…0dc0 61 6e 79 20 73 70 65 63 69 61 6c 20 63 68 61 72 61 63 74 65 72 20 69 73 0a 20 20 20 20 20 20 20   ┆any special character is        ┆
0x0dc0…0de0 20 20 20 20 20 61 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 74 68 61 74 20 6d 61 74   ┆     a one-character RE that mat┆
0x0de0…0e00 63 68 65 73 20 74 68 65 20 73 70 65 63 69 61 6c 20 63 68 61 72 61 63 74 65 72 0a 20 20 20 20 20   ┆ches the special character      ┆
0x0e00…0e20 20 20 20 20 20 20 20 69 74 73 65 6c 66 2e 20 20 54 68 65 20 73 70 65 63 69 61 6c 20 63 68 61 72   ┆       itself.  The special char┆
0x0e20…0e40 61 63 74 65 72 73 20 61 72 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 2e 20 20 20 20 2e   ┆acters are:              a.    .┆
0x0e40…0e60 08 2e 08 2e 08 2e 2c 20 2a 08 2a 08 2a 08 2a 2c 20 5b 08 5b 08 5b 08 5b 2c 20 61 6e 64 20 5c 08   ┆ . . ., * * * *, [ [ [ [, and \ ┆
0x0e60…0e80 5c 08 5c 08 5c 20 28 70 65 72 69 6f 64 2c 20 61 73 74 65 72 69 73 6b 2c 20 6c 65 66 74 20 73 71   ┆\ \ \ (period, asterisk, left sq┆
0x0e80…0ea0 75 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 61 63 6b 65 74 2c 20   ┆uare                   bracket, ┆
0x0ea0…0ec0 61 6e 64 20 62 61 63 6b 73 6c 61 73 68 2c 20 72 65 73 70 65 63 74 69 76 65 6c 79 29 2c 20 77 68   ┆and backslash, respectively), wh┆
0x0ec0…0ee0 69 63 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 65 20 61 6c 77 61 79 73   ┆ich                   are always┆
0x0ee0…0f00 20 73 70 65 63 69 61 6c 2c 20 5f 08 65 5f 08 78 5f 08 63 5f 08 65 5f 08 70 5f 08 74 20 77 68 65   ┆ special, _ e_ x_ c_ e_ p_ t whe┆
0x0f00…0f20 6e 20 74 68 65 79 20 61 70 70 65 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆n they appear                   ┆
0x0f20…0f40 77 69 74 68 69 6e 20 73 71 75 61 72 65 20 62 72 61 63 6b 65 74 73 20 28 5b 08 5b 08 5b 08 5b 5d   ┆within square brackets ([ [ [ []┆
0x0f40…0f60 08 5d 08 5d 08 5d 3b 20 73 65 65 20 31 2e 34 20 62 65 6c 6f 77 29 2e 0a 0a 20 20 20 20 20 20 20   ┆ ] ] ]; see 1.4 below).         ┆
0x0f60…0f80 20 20 20 20 20 62 2e 20 20 20 20 5e 08 5e 08 5e 08 5e 20 28 63 61 72 65 74 20 6f 72 20 63 69 72   ┆     b.    ^ ^ ^ ^ (caret or cir┆
0x0f80…0fa0 63 75 6d 66 6c 65 78 29 2c 20 77 68 69 63 68 20 69 73 20 73 70 65 63 69 61 6c 20 61 74 0a 20 20   ┆cumflex), which is special at   ┆
0x0fa0…0fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 5f 08 62 5f 08 65 5f 08 67 5f 08 69   ┆                the _ b_ e_ g_ i┆
0x0fc0…0fe0 5f 08 6e 5f 08 6e 5f 08 69 5f 08 6e 5f 08 67 20 6f 66 20 61 6e 20 5f 08 65 5f 08 6e 5f 08 74 5f   ┆_ n_ n_ i_ n_ g of an _ e_ n_ t_┆
0x0fe0…1000 08 69 5f 08 72 5f 08 65 20 52 45 20 28 73 65 65 20 33 2e 31 20 61 6e 64 20 33 2e 32 0a 20 20 20   ┆ i_ r_ e RE (see 3.1 and 3.2    ┆
0x1000…1020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 65 6c 6f 77 29 2c 20 6f 72 20 77 68 65 6e 20 69   ┆               below), or when i┆
0x1020…1040 74 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 73 20 74 68 65 20 6c 65 66 74 0a 20   ┆t immediately follows the left  ┆
0x1040…1060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 61 20 70 61 69 72 20 6f 66 20 73 71   ┆                 of a pair of sq┆
0x1060…1080 75 61 72 65 20 62 72 61 63 6b 65 74 73 20 28 5b 08 5b 08 5b 08 5b 5d 08 5d 08 5d 08 5d 29 20 28   ┆uare brackets ([ [ [ [] ] ] ]) (┆
0x1080…10a0 73 65 65 20 31 2e 34 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 65 6c 6f 77 29   ┆see 1.4                   below)┆
0x10a0…10c0 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 2e 20 20 20 20 24 08 24 08 24 08 24 20 28 63 75   ┆.              c.    $ $ $ $ (cu┆
0x10c0…10e0 72 72 65 6e 63 79 20 73 79 6d 62 6f 6c 29 2c 20 77 68 69 63 68 20 69 73 20 73 70 65 63 69 61 6c   ┆rrency symbol), which is special┆
0x10e0…1100 20 61 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 65 5f 08 6e   ┆ at the                   _ e_ n┆
0x1100…1120 5f 08 64 20 6f 66 20 61 6e 20 65 6e 74 69 72 65 20 52 45 20 28 73 65 65 20 33 2e 32 20 62 65 6c   ┆_ d of an entire RE (see 3.2 bel┆
0x1120…1140 6f 77 29 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 2e 20 20 20 20 54 68 65 20 63 68 61 72   ┆ow).              d.    The char┆
0x1140…1160 61 63 74 65 72 20 75 73 65 64 20 74 6f 20 62 6f 75 6e 64 20 28 69 2e 65 2e 2c 20 64 65 6c 69 6d   ┆acter used to bound (i.e., delim┆
0x1160…1180 69 74 29 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 74 69 72 65 20   ┆it) an                   entire ┆
0x1180…11a0 52 45 2c 20 77 68 69 63 68 20 69 73 20 73 70 65 63 69 61 6c 20 66 6f 72 20 74 68 61 74 20 52 45   ┆RE, which is special for that RE┆
0x11a0…11c0 20 28 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 61 6d 70 6c 65 2c   ┆ (for                   example,┆
0x11c0…11e0 20 73 65 65 20 68 6f 77 20 73 6c 61 73 68 20 28 2f 08 2f 08 2f 08 2f 29 20 69 73 20 75 73 65 64   ┆ see how slash (/ / / /) is used┆
0x11e0…1200 20 69 6e 20 74 68 65 20 5f 08 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f   ┆ in the _ g                   co┆
0x1200…1220 6d 6d 61 6e 64 2c 20 62 65 6c 6f 77 2e 29 0a 0a 20 20 20 20 20 31 2e 33 20 20 20 20 41 20 70 65   ┆mmand, below.)       1.3    A pe┆
0x1220…1240 72 69 6f 64 20 28 2e 08 2e 08 2e 08 2e 29 20 69 73 20 61 20 6f 6e 65 2d 63 68 61 72 61 63 74 65   ┆riod (. . . .) is a one-characte┆
0x1240…1260 72 20 52 45 20 74 68 61 74 20 6d 61 74 63 68 65 73 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20   ┆r RE that matches any           ┆
0x1260…1280 20 20 63 68 61 72 61 63 74 65 72 20 65 78 63 65 70 74 20 6e 65 77 2d 6c 69 6e 65 2e 0a 0a 20 20   ┆  character except new-line.    ┆
0x1280…12a0 20 20 20 31 2e 34 20 20 20 20 41 20 6e 6f 6e 2d 65 6d 70 74 79 20 73 74 72 69 6e 67 20 6f 66 20   ┆   1.4    A non-empty string of ┆
0x12a0…12c0 63 68 61 72 61 63 74 65 72 73 20 65 6e 63 6c 6f 73 65 64 20 69 6e 20 73 71 75 61 72 65 0a 20 20   ┆characters enclosed in square   ┆
0x12c0…12e0 20 20 20 20 20 20 20 20 20 20 62 72 61 63 6b 65 74 73 20 28 5b 08 5b 08 5b 08 5b 5d 08 5d 08 5d   ┆          brackets ([ [ [ [] ] ]┆
0x12e0…1300 08 5d 29 20 69 73 20 61 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 74 68 61 74 20 6d   ┆ ]) is a one-character RE that m┆
0x1300…1320 61 74 63 68 65 73 20 5f 08 61 5f 08 6e 5f 08 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 6f   ┆atches _ a_ n_ y             _ o┆
0x1320…1340 5f 08 6e 5f 08 65 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 74 68 61 74 20 73 74 72 69 6e 67 2e   ┆_ n_ e character in that string.┆
0x1340…1360 20 20 49 66 2c 20 68 6f 77 65 76 65 72 2c 20 74 68 65 20 66 69 72 73 74 0a 20 20 20 20 20 20 20   ┆  If, however, the first        ┆
0x1360…1380 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 6f 66 20 74 68 65 20 73 74 72 69 6e 67 20 69 73 20   ┆     character of the string is ┆
0x1380…13a0 61 20 63 69 72 63 75 6d 66 6c 65 78 20 28 5e 08 5e 08 5e 08 5e 29 2c 20 74 68 65 0a 20 20 20 20   ┆a circumflex (^ ^ ^ ^), the     ┆
0x13a0…13c0 20 20 20 20 20 20 20 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 6d 61 74 63 68 65 73   ┆        one-character RE matches┆
0x13c0…13e0 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 20 5f 08 65 5f 08 78 5f 08 63 5f 08 65 5f 08 70 5f 08   ┆ any character _ e_ x_ c_ e_ p_ ┆
0x13e0…1400 74 20 6e 65 77 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 20 61 6e 64 20 74 68 65 20   ┆t new-             line and the ┆
0x1400…1420 72 65 6d 61 69 6e 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 74 68 65 20 73 74 72 69   ┆remaining characters in the stri┆
0x1420…1440 6e 67 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 5e 08 5e 08 5e 08 5e 20 68 61 73   ┆ng.  The             ^ ^ ^ ^ has┆
0x1440…1460 20 74 68 69 73 20 73 70 65 63 69 61 6c 20 6d 65 61 6e 69 6e 67 20 5f 08 6f 5f 08 6e 5f 08 6c 5f   ┆ this special meaning _ o_ n_ l_┆
0x1460…1480 08 79 20 69 66 20 69 74 20 6f 63 63 75 72 73 20 66 69 72 73 74 20 69 6e 0a 20 20 20 20 20 20 20   ┆ y if it occurs first in        ┆
0x1480…14a0 20 20 20 20 20 74 68 65 20 73 74 72 69 6e 67 2e 20 20 54 68 65 20 6d 69 6e 75 73 20 28 2d 08 2d   ┆     the string.  The minus (- -┆
0x14a0…14c0 08 2d 08 2d 29 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 69 6e 64 69 63 61 74 65 20 61 0a   ┆ - -) may be used to indicate a ┆
0x14c0…14e0 20 20 20 20 20 20 20 20 20 20 20 20 72 61 6e 67 65 20 6f 66 20 63 6f 6e 73 65 63 75 74 69 76 65   ┆            range of consecutive┆
0x14e0…1500 20 41 53 43 49 49 20 63 68 61 72 61 63 74 65 72 73 3b 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 0a   ┆ ASCII characters; for example, ┆
0x1500…1520 20 20 20 20 20 20 20 20 20 20 20 20 5b 08 5b 08 5b 08 5b 30 08 30 08 30 08 30 2d 08 2d 08 2d 08   ┆            [ [ [ [0 0 0 0- - - ┆
0x1520…1540 2d 39 08 39 08 39 08 39 5d 08 5d 08 5d 08 5d 20 69 73 20 65 71 75 69 76 61 6c 65 6e 74 20 74 6f   ┆-9 9 9 9] ] ] ] is equivalent to┆
0x1540…1560 20 5b 08 5b 08 5b 08 5b 30 08 30 08 30 08 30 31 08 31 08 31 08 31 32 08 32 08 32 08 32 33 08 33   ┆ [ [ [ [0 0 0 01 1 1 12 2 2 23 3┆
0x1560…1580 08 33 08 33 34 08 34 08 34 08 34 35 08 35 08 35 08 35 36 08 36 08 36 08 36 37 08 37 08 37 08 37   ┆ 3 34 4 4 45 5 5 56 6 6 67 7 7 7┆
0x1580…15a0 38 08 38 08 38 08 38 39 08 39 08 39 08 39 5d 08 5d 08 5d 08 5d 2e 20 20 54 68 65 20 2d 08 2d 08   ┆8 8 8 89 9 9 9] ] ] ].  The - - ┆
0x15a0…15c0 2d 08 2d 20 6c 6f 73 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 20 73 70 65 63 69   ┆- - loses             this speci┆
0x15c0…15e0 61 6c 20 6d 65 61 6e 69 6e 67 20 69 66 20 69 74 20 6f 63 63 75 72 73 20 66 69 72 73 74 20 28 61   ┆al meaning if it occurs first (a┆
0x15e0…1600 66 74 65 72 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 69 74 69 61 6c 20 5e 08 5e 08   ┆fter an             initial ^ ^ ┆
0x1600…1620 5e 08 5e 2c 20 69 66 20 61 6e 79 29 20 6f 72 20 6c 61 73 74 20 69 6e 20 74 68 65 20 73 74 72 69   ┆^ ^, if any) or last in the stri┆
0x1620…1640 6e 67 2e 20 20 54 68 65 20 72 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 71 75 61 72   ┆ng.  The right             squar┆
0x1640…1660 65 20 62 72 61 63 6b 65 74 20 28 5d 08 5d 08 5d 08 5d 29 20 64 6f 65 73 20 6e 6f 74 20 74 65 72   ┆e bracket (] ] ] ]) does not ter┆
0x1660…1680 6d 69 6e 61 74 65 20 73 75 63 68 20 61 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20   ┆minate such a string            ┆
0x1680…16a0 20 77 68 65 6e 20 69 74 20 69 73 20 74 68 65 20 66 69 72 73 74 20 63 68 61 72 61 63 74 65 72 20   ┆ when it is the first character ┆
0x16a0…16c0 77 69 74 68 69 6e 20 69 74 20 28 61 66 74 65 72 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆within it (after an             ┆
0x16c0…16e0 69 6e 69 74 69 61 6c 20 5e 08 5e 08 5e 08 5e 2c 20 69 66 20 61 6e 79 29 3b 20 65 2e 67 2e 2c 20   ┆initial ^ ^ ^ ^, if any); e.g., ┆
0x16e0…1700 5b 08 5b 08 5b 08 5b 5d 08 5d 08 5d 08 5d 61 08 61 08 61 08 61 2d 08 2d 08 2d 08 2d 66 08 66 08   ┆[ [ [ [] ] ] ]a a a a- - - -f f ┆
0x1700…1720 66 08 66 5d 08 5d 08 5d 08 5d 20 6d 61 74 63 68 65 73 20 65 69 74 68 65 72 20 61 0a 20 20 20 20   ┆f f] ] ] ] matches either a     ┆
0x1720…1740 20 20 20 20 20 20 20 20 72 69 67 68 74 20 73 71 75 61 72 65 20 62 72 61 63 6b 65 74 20 28 5d 08   ┆        right square bracket (] ┆
0x1740…1760 5d 08 5d 08 5d 29 20 6f 72 20 6f 6e 65 20 6f 66 20 74 68 65 20 6c 65 74 74 65 72 73 20 61 08 61   ┆] ] ]) or one of the letters a a┆
0x1760…1780 08 61 08 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 75 67 68 20 66 08 66 08 66 08 66   ┆ a a             through f f f f┆
0x1780…17a0 20 69 6e 63 6c 75 73 69 76 65 2e 20 20 54 68 65 20 66 6f 75 72 20 63 68 61 72 61 63 74 65 72 73   ┆ inclusive.  The four characters┆
0x17a0…17c0 20 6c 69 73 74 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 31 2e 32 2e 61 20 61 62 6f   ┆ listed in             1.2.a abo┆
0x17c0…17e0 76 65 20 73 74 61 6e 64 20 66 6f 72 20 74 68 65 6d 73 65 6c 76 65 73 20 77 69 74 68 69 6e 20 73   ┆ve stand for themselves within s┆
0x17e0…1800 75 63 68 20 61 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 63 68 61 72   ┆uch a string             of char┆
0x1800…1820 61 63 74 65 72 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 75 6c 65   ┆acters.       The following rule┆
0x1820…1840 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 63 6f 6e 73 74 72 75 63 74 20 52 45 73 20 66   ┆s may be used to construct REs f┆
0x1840…1860 72 6f 6d 20 6f 6e 65 2d 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 52 45 73 3a 0a 0a 20 20   ┆rom one-      character REs:    ┆
0x1860…1880 20 20 20 32 2e 31 20 20 20 20 41 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 69 73 20   ┆   2.1    A one-character RE is ┆
0x1880…18a0 61 20 52 45 20 74 68 61 74 20 6d 61 74 63 68 65 73 20 77 68 61 74 65 76 65 72 20 74 68 65 0a 20   ┆a RE that matches whatever the  ┆
0x18a0…18c0 20 20 20 20 20 20 20 20 20 20 20 6f 6e 65 2d 63 68 61 72 61 63 74 65 72 20 52 45 20 6d 61 74 63   ┆           one-character RE matc┆
0x18c0…18e0 68 65 73 2e 0a 0a 20 20 20 20 20 32 2e 32 20 20 20 20 41 20 6f 6e 65 2d 63 68 61 72 61 63 74 65   ┆hes.       2.2    A one-characte┆
0x18e0…1900 72 20 52 45 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 6e 20 61 73 74 65 72 69 73 6b 20 28 2a 08   ┆r RE followed by an asterisk (* ┆
0x1900…1920 2a 08 2a 08 2a 29 20 69 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 45 20 74 68 61 74 20   ┆* * *) is a             RE that ┆
[…truncated at 200 lines…]