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: t

⟦1d357772b⟧

    Length: 3006 (0xbbe)
    Names: »tr.1«

Derivation

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

Default Hex Dump

0x000…020 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_┆
0x020…040 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┆
0x040…060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 28 31 29 0a 0a 0a 0a   ┆ds                     tr(1)    ┆
0x060…080 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    ┆
0x080…0a0 20 20 74 72 20 2d 20 74 72 61 6e 73 6c 61 74 65 20 63 68 61 72 61 63 74 65 72 73 0a 0a 53 08 53   ┆  tr - translate characters  S S┆
0x0a0…0c0 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┆
0x0c0…0e0 58 08 58 08 58 08 58 0a 20 20 20 20 20 74 08 74 08 74 08 74 72 08 72 08 72 08 72 20 5b 20 2d 08   ┆X X X X      t t t tr r r r [ - ┆
0x0e0…100 2d 08 2d 08 2d 63 08 63 08 63 08 63 64 08 64 08 64 08 64 73 08 73 08 73 08 73 20 5d 20 5b 20 73   ┆- - -c c c cd d d ds s s s ] [ s┆
0x100…120 74 72 69 6e 67 31 20 5b 20 73 74 72 69 6e 67 32 20 5d 20 5d 0a 0a 44 08 44 08 44 08 44 45 08 45   ┆tring1 [ string2 ] ]  D D D DE E┆
0x120…140 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49   ┆ E ES S S SC C C CR R R RI I I I┆
0x140…160 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08   ┆P P P PT T T TI I I IO O O ON N ┆
0x160…180 4e 08 4e 0a 20 20 20 20 20 5f 08 74 5f 08 72 20 63 6f 70 69 65 73 20 74 68 65 20 73 74 61 6e 64   ┆N N      _ t_ r copies the stand┆
0x180…1a0 61 72 64 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 6f 75 74 70 75 74   ┆ard input to the standard output┆
0x1a0…1c0 20 77 69 74 68 0a 20 20 20 20 20 73 75 62 73 74 69 74 75 74 69 6f 6e 20 6f 72 20 64 65 6c 65 74   ┆ with      substitution or delet┆
0x1c0…1e0 69 6f 6e 20 6f 66 20 73 65 6c 65 63 74 65 64 20 63 68 61 72 61 63 74 65 72 73 2e 20 20 49 6e 70   ┆ion of selected characters.  Inp┆
0x1e0…200 75 74 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73 20 66 6f 75 6e 64 20 69 6e 20 5f 08 73 5f   ┆ut      characters found in _ s_┆
0x200…220 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 31 20 61 72 65 20 6d 61 70 70 65 64 20 69 6e 74   ┆ t_ r_ i_ n_ g_ 1 are mapped int┆
0x220…240 6f 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 2d 0a 20 20 20 20 20 69 6e 67 20 63 68 61 72 61   ┆o the correspond-      ing chara┆
0x240…260 63 74 65 72 73 20 6f 66 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 32 2e 20   ┆cters of _ s_ t_ r_ i_ n_ g_ 2. ┆
0x260…280 20 57 68 65 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 32 20 69 73 20 73   ┆ When _ s_ t_ r_ i_ n_ g_ 2 is s┆
0x280…2a0 68 6f 72 74 20 69 74 20 69 73 20 70 61 64 2d 0a 20 20 20 20 20 64 65 64 20 74 6f 20 74 68 65 20   ┆hort it is pad-      ded to the ┆
0x2a0…2c0 6c 65 6e 67 74 68 20 6f 66 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 31 20   ┆length of _ s_ t_ r_ i_ n_ g_ 1 ┆
0x2c0…2e0 62 79 20 64 75 70 6c 69 63 61 74 69 6e 67 20 69 74 73 20 6c 61 73 74 20 63 68 61 72 61 63 2d 0a   ┆by duplicating its last charac- ┆
0x2e0…300 20 20 20 20 20 74 65 72 2e 20 20 41 6e 79 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 20 6f 66 20 74 68   ┆     ter.  Any combination of th┆
0x300…320 65 20 6f 70 74 69 6f 6e 73 20 2d 08 2d 08 2d 08 2d 63 08 63 08 63 08 63 64 08 64 08 64 08 64 73   ┆e options - - - -c c c cd d d ds┆
0x320…340 08 73 08 73 08 73 20 6d 61 79 20 62 65 20 75 73 65 64 3a 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08   ┆ s s s may be used:       - - - ┆
0x340…360 2d 63 08 63 08 63 08 63 20 20 20 20 20 20 20 43 6f 6d 70 6c 65 6d 65 6e 74 73 20 74 68 65 20 73   ┆-c c c c       Complements the s┆
0x360…380 65 74 20 6f 66 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69   ┆et of characters in _ s_ t_ r_ i┆
0x380…3a0 5f 08 6e 5f 08 67 5f 08 31 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73   ┆_ n_ g_ 1 with               res┆
0x3a0…3c0 70 65 63 74 20 74 6f 20 74 68 65 20 75 6e 69 76 65 72 73 65 20 6f 66 20 63 68 61 72 61 63 74 65   ┆pect to the universe of characte┆
0x3c0…3e0 72 73 20 77 68 6f 73 65 20 41 53 43 49 49 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 64   ┆rs whose ASCII               cod┆
0x3e0…400 65 73 20 61 72 65 20 30 31 20 74 68 72 6f 75 67 68 20 30 33 37 37 20 6f 63 74 61 6c 2e 0a 0a 20   ┆es are 01 through 0377 octal.   ┆
0x400…420 20 20 20 20 2d 08 2d 08 2d 08 2d 64 08 64 08 64 08 64 20 20 20 20 20 20 20 44 65 6c 65 74 65 73   ┆    - - - -d d d d       Deletes┆
0x420…440 20 61 6c 6c 20 69 6e 70 75 74 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 5f 08 73 5f 08 74 5f   ┆ all input characters in _ s_ t_┆
0x440…460 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 31 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 73 08 73   ┆ r_ i_ n_ g_ 1.       - - - -s s┆
0x460…480 08 73 08 73 20 20 20 20 20 20 20 53 71 75 65 65 7a 65 73 20 61 6c 6c 20 73 74 72 69 6e 67 73 20   ┆ s s       Squeezes all strings ┆
0x480…4a0 6f 66 20 72 65 70 65 61 74 65 64 20 6f 75 74 70 75 74 20 63 68 61 72 61 63 74 65 72 73 0a 20 20   ┆of repeated output characters   ┆
0x4a0…4c0 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 74 20 61 72 65 20 69 6e 20 5f 08 73 5f 08 74 5f 08   ┆            that are in _ s_ t_ ┆
0x4c0…4e0 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 32 20 74 6f 20 73 69 6e 67 6c 65 20 63 68 61 72 61 63 74 65   ┆r_ i_ n_ g_ 2 to single characte┆
0x4e0…500 72 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 62 62 72 65 76 69 61   ┆rs.       The following abbrevia┆
0x500…520 74 69 6f 6e 20 63 6f 6e 76 65 6e 74 69 6f 6e 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20   ┆tion conventions may be used to ┆
0x520…540 69 6e 74 72 6f 2d 0a 20 20 20 20 20 64 75 63 65 20 72 61 6e 67 65 73 20 6f 66 20 63 68 61 72 61   ┆intro-      duce ranges of chara┆
0x540…560 63 74 65 72 73 20 6f 72 20 72 65 70 65 61 74 65 64 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 74   ┆cters or repeated characters int┆
0x560…580 6f 20 74 68 65 0a 20 20 20 20 20 73 74 72 69 6e 67 73 3a 0a 0a 20 20 20 20 20 5b 08 5b 08 5b 08   ┆o the      strings:       [ [ [ ┆
0x580…5a0 5b 61 08 61 08 61 08 61 2d 08 2d 08 2d 08 2d 7a 08 7a 08 7a 08 7a 5d 08 5d 08 5d 08 5d 0a 20 20   ┆[a a a a- - - -z z z z] ] ] ]   ┆
0x5a0…5c0 20 20 20 20 20 20 20 20 53 74 61 6e 64 73 20 66 6f 72 20 74 68 65 20 73 74 72 69 6e 67 20 6f 66   ┆        Stands for the string of┆
0x5c0…5e0 20 63 68 61 72 61 63 74 65 72 73 20 77 68 6f 73 65 20 41 53 43 49 49 20 63 6f 64 65 73 0a 20 20   ┆ characters whose ASCII codes   ┆
0x5e0…600 20 20 20 20 20 20 20 20 72 75 6e 20 66 72 6f 6d 20 63 68 61 72 61 63 74 65 72 20 61 08 61 08 61   ┆        run from character a a a┆
0x600…620 08 61 20 74 6f 20 63 68 61 72 61 63 74 65 72 20 7a 08 7a 08 7a 08 7a 2c 20 69 6e 63 6c 75 73 69   ┆ a to character z z z z, inclusi┆
0x620…640 76 65 2e 0a 0a 20 20 20 20 20 5b 08 5b 08 5b 08 5b 61 08 61 08 61 08 61 2a 08 2a 08 2a 08 2a 5f   ┆ve.       [ [ [ [a a a a* * * *_┆
0x640…660 08 6e 5d 08 5d 08 5d 08 5d 0a 20 20 20 20 20 20 20 20 20 20 53 74 61 6e 64 73 20 66 6f 72 20 5f   ┆ n] ] ] ]           Stands for _┆
0x660…680 08 6e 20 72 65 70 65 74 69 74 69 6f 6e 73 20 6f 66 20 61 08 61 08 61 08 61 2e 20 20 49 66 20 74   ┆ n repetitions of a a a a.  If t┆
0x680…6a0 68 65 20 66 69 72 73 74 20 64 69 67 69 74 20 6f 6e 20 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20   ┆he first digit on _ n           ┆
0x6a0…6c0 69 73 20 30 2c 20 5f 08 6e 20 69 73 20 63 6f 6e 73 69 64 65 72 65 64 20 6f 63 74 61 6c 3b 20 6f   ┆is 0, _ n is considered octal; o┆
0x6c0…6e0 74 68 65 72 77 69 73 65 20 5f 08 6e 20 69 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 0a 20 20 20 20   ┆therwise _ n is taken to be     ┆
0x6e0…700 20 20 20 20 20 20 64 65 63 69 6d 61 6c 2e 20 41 20 7a 65 72 6f 20 6f 72 20 6d 69 73 73 69 6e 67   ┆      decimal. A zero or missing┆
0x700…720 20 5f 08 6e 20 69 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 68 75 67 65 3b 20 74 68 69 73 0a 20   ┆ _ n is taken to be huge; this  ┆
0x720…740 20 20 20 20 20 20 20 20 20 66 61 63 69 6c 69 74 79 20 69 73 20 75 73 65 66 75 6c 20 66 6f 72 20   ┆         facility is useful for ┆
0x740…760 70 61 64 64 69 6e 67 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 32 2e 0a 0a 20 20   ┆padding _ s_ t_ r_ i_ n_ g2.    ┆
0x760…780 20 20 20 54 68 65 20 65 73 63 61 70 65 20 63 68 61 72 61 63 74 65 72 20 5c 20 6d 61 79 20 62 65   ┆   The escape character \ may be┆
0x780…7a0 20 75 73 65 64 20 61 73 20 69 6e 20 74 68 65 20 73 68 65 6c 6c 20 74 6f 20 72 65 6d 6f 76 65 0a   ┆ used as in the shell to remove ┆
0x7a0…7c0 20 20 20 20 20 73 70 65 63 69 61 6c 20 6d 65 61 6e 69 6e 67 20 66 72 6f 6d 20 61 6e 79 20 63 68   ┆     special meaning from any ch┆
0x7c0…7e0 61 72 61 63 74 65 72 20 69 6e 20 61 20 73 74 72 69 6e 67 2e 20 49 6e 20 61 64 64 69 74 69 6f 6e   ┆aracter in a string. In addition┆
0x7e0…800 2c 0a 20 20 20 20 20 5c 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 31 2c 20 32 20 6f 72 20 33 20 6f   ┆,      \ followed by 1, 2 or 3 o┆
0x800…820 63 74 61 6c 20 64 69 67 69 74 73 20 73 74 61 6e 64 73 20 66 6f 72 20 74 68 65 20 63 68 61 72 61   ┆ctal digits stands for the chara┆
0x820…840 63 2d 0a 20 20 20 20 20 74 65 72 20 77 68 6f 73 65 20 41 53 43 49 49 20 63 6f 64 65 20 69 73 20   ┆c-      ter whose ASCII code is ┆
0x840…860 67 69 76 65 6e 20 62 79 20 74 68 6f 73 65 20 64 69 67 69 74 73 2e 0a 0a 45 08 45 08 45 08 45 58   ┆given by those digits.  E E E EX┆
0x860…880 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 50 4c 08 4c 08 4c   ┆ X X XA A A AM M M MP P P PL L L┆
0x880…8a0 08 4c 45 08 45 08 45 08 45 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 78 61   ┆ LE E E E      The following exa┆
0x8a0…8c0 6d 70 6c 65 20 63 72 65 61 74 65 73 20 61 20 6c 69 73 74 20 6f 66 20 61 6c 6c 20 74 68 65 20 77   ┆mple creates a list of all the w┆
0x8c0…8e0 6f 72 64 73 20 69 6e 0a 20 20 20 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 31 20 6f 6e 65   ┆ords in      _ f_ i_ l_ e_ 1 one┆
0x8e0…900 20 70 65 72 20 6c 69 6e 65 20 69 6e 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 32 2e 20 20 77   ┆ per line in _ f_ i_ l_ e_ 2.  w┆
0x900…920 68 65 72 65 20 61 20 77 6f 72 64 20 69 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 61 0a 20 20 20   ┆here a word is taken to be a    ┆
0x920…940 20 20 6d 61 78 69 6d 61 6c 20 73 74 72 69 6e 67 20 6f 66 20 61 6c 70 68 61 62 65 74 69 63 73 2e   ┆  maximal string of alphabetics.┆
0x940…960 20 54 68 65 20 73 74 72 69 6e 67 73 20 61 72 65 20 71 75 6f 74 65 64 20 74 6f 0a 20 20 20 20 20   ┆ The strings are quoted to      ┆
0x960…980 70 72 6f 74 65 63 74 20 74 68 65 20 73 70 65 63 69 61 6c 20 63 68 61 72 61 63 74 65 72 73 20 66   ┆protect the special characters f┆
0x980…9a0 72 6f 6d 20 69 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 20 62 79 20 74 68 65 0a 20 20 20 20 20 73   ┆rom interpretation by the      s┆
0x9a0…9c0 68 65 6c 6c 3b 20 30 31 32 20 69 73 20 74 68 65 20 41 53 43 49 49 20 63 6f 64 65 20 66 6f 72 20   ┆hell; 012 is the ASCII code for ┆
0x9c0…9e0 6e 65 77 2d 6c 69 6e 65 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 74 72 20 2d 63 73 20 22 5b 41 2d   ┆new-line.            tr -cs "[A-┆
0x9e0…a00 5a 5d 5b 61 2d 7a 5d 22 20 22 5b 5c 30 31 32 2a 5d 22 20 3c 20 66 69 6c 65 31 20 3e 20 66 69 6c   ┆Z][a-z]" "[\012*]" < file1 > fil┆
0xa00…a20 65 32 0a 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41   ┆e2   S S S SE E E EE E E E A A A┆
0xa20…a40 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65   ┆ AL L L LS S S SO O O O      Use┆
0xa40…a60 72 20 43 6f 6d 6d 61 6e 64 73 20 28 31 29 3a 20 20 65 78 70 61 6e 64 2c 20 73 65 64 0a 20 20 20   ┆r Commands (1):  expand, sed    ┆
0xa60…a80 20 20 41 70 70 65 6e 64 69 63 65 73 20 28 37 29 3a 20 20 61 73 63 69 69 0a 0a 4c 08 4c 08 4c 08   ┆  Appendices (7):  ascii  L L L ┆
0xa80…aa0 4c 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41   ┆LI I I IM M M MI I I IT T T TA A┆
0xaa0…ac0 08 41 08 41 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e   ┆ A AT T T TI I I IO O O ON N N N┆
0xac0…ae0 53 08 53 08 53 08 53 0a 20 20 20 20 20 57 6f 6e 27 74 20 68 61 6e 64 6c 65 20 41 53 43 49 49 20   ┆S S S S      Won't handle ASCII ┆
0xae0…b00 4e 55 4c 20 69 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 31 20 6f 72 20   ┆NUL in _ s_ t_ r_ i_ n_ g_ 1 or ┆
0xb00…b20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 5f 08 32 3b 20 61 6c 77 61 79 73 20 64 65   ┆_ s_ t_ r_ i_ n_ g_ 2; always de┆
0xb20…b40 6c 65 74 65 73 0a 20 20 20 20 20 4e 55 4c 20 66 72 6f 6d 20 69 6e 70 75 74 2e 0a 0a 0a 0a 0a 0a   ┆letes      NUL from input.      ┆
0xb40…b60 0a 41 75 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ August 1991                    ┆
0xb60…b80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 65 72 65 6e   ┆               TX User's Referen┆
0xb80…ba0 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆ce                              ┆
0xba0…bbe 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a         ┆                              ┆