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

⟦3ca17e33e⟧

    Length: 5815 (0x16b7)
    Names: »ckstr.1«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat1/ckstr.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 63 6b 73 74 72 28 31 29 0a 0a 0a 0a   ┆ds                  ckstr(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 63 6b 73 74 72 20 2d 20 64 69 73 70 6c 61 79 20 61 20 70 72 6f 6d 70 74 3b 20 76 65 72 69   ┆  ckstr - display a prompt; veri┆
0x00a0…00c0 66 79 20 61 6e 64 20 72 65 74 75 72 6e 20 61 20 73 74 72 69 6e 67 20 61 6e 73 77 65 72 0a 0a 53   ┆fy and return a string answer  S┆
0x00c0…00e0 08 53 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   ┆ S S SY Y Y YN N N NT T T TA A A┆
0x00e0…0100 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 73 08 73   ┆ AX X X X      c c c ck k k ks s┆
0x0100…0120 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 20 5b 2d 08 2d 08 2d 08 2d 51 08 51 08 51   ┆ s st t t tr r r r [- - - -Q Q Q┆
0x0120…0140 08 51 5d 20 5b 2d 08 2d 08 2d 08 2d 57 08 57 08 57 08 57 20 5f 08 77 5f 08 69 5f 08 64 5f 08 74   ┆ Q] [- - - -W W W W _ w_ i_ d_ t┆
0x0140…0160 5f 08 68 5d 20 5b 5b 2d 08 2d 08 2d 08 2d 72 08 72 08 72 08 72 20 5f 08 72 5f 08 65 5f 08 67 5f   ┆_ h] [[- - - -r r r r _ r_ e_ g_┆
0x0160…0180 08 65 5f 08 78 5f 08 70 5d 20 5b 2e 2e 2e 5d 5d 20 5b 2d 08 2d 08 2d 08 2d 6c 08 6c 08 6c 08 6c   ┆ e_ x_ p] [...]] [- - - -l l l l┆
0x0180…01a0 20 5f 08 6c 5f 08 65 5f 08 6e 5f 08 67 5f 08 74 5f 08 68 5d 20 5b 2d 08 2d 08 2d 08 2d 64 08 64   ┆ _ l_ e_ n_ g_ t_ h] [- - - -d d┆
0x01a0…01c0 08 64 08 64 0a 20 20 20 20 20 5f 08 64 5f 08 65 5f 08 66 5f 08 61 5f 08 75 5f 08 6c 5f 08 74 5d   ┆ d d      _ d_ e_ f_ a_ u_ l_ t]┆
0x01c0…01e0 20 5b 2d 08 2d 08 2d 08 2d 68 08 68 08 68 08 68 20 5f 08 68 5f 08 65 5f 08 6c 5f 08 70 5d 20 5b   ┆ [- - - -h h h h _ h_ e_ l_ p] [┆
0x01e0…0200 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 5d 0a   ┆- - - -e e e e _ e_ r_ r_ o_ r] ┆
0x0200…0220 20 20 20 20 20 5b 2d 08 2d 08 2d 08 2d 70 08 70 08 70 08 70 20 5f 08 70 5f 08 72 5f 08 6f 5f 08   ┆     [- - - -p p p p _ p_ r_ o_ ┆
0x0220…0240 6d 5f 08 70 5f 08 74 5d 20 5b 2d 08 2d 08 2d 08 2d 6b 08 6b 08 6b 08 6b 20 5f 08 70 5f 08 69 5f   ┆m_ p_ t] [- - - -k k k k _ p_ i_┆
0x0240…0260 08 64 20 5b 2d 08 2d 08 2d 08 2d 73 08 73 08 73 08 73 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f   ┆ d [- - - -s s s s _ s_ i_ g_ n_┆
0x0260…0280 08 61 5f 08 6c 5d 5d 0a 0a 20 20 20 20 20 65 08 65 08 65 08 65 72 08 72 08 72 08 72 72 08 72 08   ┆ a_ l]]       e e e er r r rr r ┆
0x0280…02a0 72 08 72 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 20 5b 2d 08 2d 08 2d 08   ┆r rs s s st t t tr r r r [- - - ┆
0x02a0…02c0 2d 57 08 57 08 57 08 57 5d 20 5b 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 20 5f 08 65 5f 08 72   ┆-W W W W] [- - - -e e e e _ e_ r┆
0x02c0…02e0 5f 08 72 5f 08 6f 5f 08 72 5d 0a 20 20 20 20 20 68 08 68 08 68 08 68 65 08 65 08 65 08 65 6c 08   ┆_ r_ o_ r]      h h h he e e el ┆
0x02e0…0300 6c 08 6c 08 6c 70 08 70 08 70 08 70 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08   ┆l l lp p p ps s s st t t tr r r ┆
0x0300…0320 72 20 5b 2d 08 2d 08 2d 08 2d 57 08 57 08 57 08 57 5d 20 5b 2d 08 2d 08 2d 08 2d 68 08 68 08 68   ┆r [- - - -W W W W] [- - - -h h h┆
0x0320…0340 08 68 20 5f 08 68 5f 08 65 5f 08 6c 5f 08 70 5d 08 5d 08 5d 08 5d 0a 20 20 20 20 20 76 08 76 08   ┆ h _ h_ e_ l_ p] ] ] ]      v v ┆
0x0340…0360 76 08 76 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72   ┆v va a a al l l ls s s st t t tr┆
0x0360…0380 08 72 08 72 08 72 20 5f 08 69 5f 08 6e 5f 08 70 5f 08 75 5f 08 74 0a 0a 44 08 44 08 44 08 44 45   ┆ r r r _ i_ n_ p_ u_ t  D D D DE┆
0x0380…03a0 08 45 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   ┆ E E ES S S SC C C CR R R RI I I┆
0x03a0…03c0 08 49 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   ┆ IP P P PT T T TI I I IO O O ON ┆
0x03c0…03e0 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 63 5f 08 6b 5f 08 73 5f 08 74 5f 08 72 20 70 72 6f 6d 70   ┆N N N      _ c_ k_ s_ t_ r promp┆
0x03e0…0400 74 73 20 61 20 75 73 65 72 20 61 6e 64 20 76 61 6c 69 64 61 74 65 73 20 74 68 65 20 72 65 73 70   ┆ts a user and validates the resp┆
0x0400…0420 6f 6e 73 65 2e 20 20 49 74 0a 20 20 20 20 20 64 65 66 69 6e 65 73 2c 20 61 6d 6f 6e 67 20 6f 74   ┆onse.  It      defines, among ot┆
0x0420…0440 68 65 72 20 74 68 69 6e 67 73 2c 20 61 20 70 72 6f 6d 70 74 20 6d 65 73 73 61 67 65 20 77 68 6f   ┆her things, a prompt message who┆
0x0440…0460 73 65 20 72 65 73 70 6f 6e 73 65 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 62 65 20 61 20 73 74 72   ┆se response      should be a str┆
0x0460…0480 69 6e 67 2c 20 74 65 78 74 20 66 6f 72 20 68 65 6c 70 20 61 6e 64 20 65 72 72 6f 72 20 6d 65 73   ┆ing, text for help and error mes┆
0x0480…04a0 73 61 67 65 73 2c 20 61 6e 64 20 61 0a 20 20 20 20 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20   ┆sages, and a      default value ┆
0x04a0…04c0 28 77 68 69 63 68 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 20 69 66 20 74 68 65 20 75   ┆(which will be returned if the u┆
0x04c0…04e0 73 65 72 20 72 65 73 70 6f 6e 64 73 0a 20 20 20 20 20 77 69 74 68 20 61 20 63 61 72 72 69 61 67   ┆ser responds      with a carriag┆
0x04e0…0500 65 20 72 65 74 75 72 6e 29 2e 0a 0a 20 20 20 20 20 54 68 65 20 61 6e 73 77 65 72 20 72 65 74 75   ┆e return).       The answer retu┆
0x0500…0520 72 6e 65 64 20 66 72 6f 6d 20 74 68 69 73 20 63 6f 6d 6d 61 6e 64 20 6d 75 73 74 20 6d 61 74 63   ┆rned from this command must matc┆
0x0520…0540 68 20 74 68 65 20 64 65 66 69 6e 65 64 0a 20 20 20 20 20 72 65 67 75 6c 61 72 20 65 78 70 72 65   ┆h the defined      regular expre┆
0x0540…0560 73 73 69 6f 6e 20 61 6e 64 20 62 65 20 6e 6f 20 6c 6f 6e 67 65 72 20 74 68 61 6e 20 74 68 65 20   ┆ssion and be no longer than the ┆
0x0560…0580 6c 65 6e 67 74 68 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 64 2e 20 20 49 66 20 6e 6f 20   ┆length speci-      fied.  If no ┆
0x0580…05a0 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 69 73 20 67 69 76 65 6e 2c 20 76 61 6c   ┆regular expression is given, val┆
0x05a0…05c0 69 64 20 69 6e 70 75 74 20 6d 75 73 74 0a 20 20 20 20 20 62 65 20 61 20 73 74 72 69 6e 67 20 77   ┆id input must      be a string w┆
0x05c0…05e0 69 74 68 20 61 20 6c 65 6e 67 74 68 20 6c 65 73 73 20 74 68 61 6e 20 6f 72 20 65 71 75 61 6c 20   ┆ith a length less than or equal ┆
0x05e0…0600 74 6f 20 74 68 65 20 6c 65 6e 67 74 68 0a 20 20 20 20 20 64 65 66 69 6e 65 64 20 77 69 74 68 20   ┆to the length      defined with ┆
0x0600…0620 6e 6f 20 69 6e 74 65 72 6e 61 6c 2c 20 6c 65 61 64 69 6e 67 20 6f 72 20 74 72 61 69 6c 69 6e 67   ┆no internal, leading or trailing┆
0x0620…0640 20 77 68 69 74 65 20 73 70 61 63 65 2e 0a 20 20 20 20 20 49 66 20 6e 6f 20 6c 65 6e 67 74 68 20   ┆ white space.      If no length ┆
0x0640…0660 69 73 20 64 65 66 69 6e 65 64 2c 20 74 68 65 20 6c 65 6e 67 74 68 20 69 73 20 6e 6f 74 20 63 68   ┆is defined, the length is not ch┆
0x0660…0680 65 63 6b 65 64 2e 20 20 45 69 74 68 65 72 0a 20 20 20 20 20 61 20 72 65 67 75 6c 61 72 20 65 78   ┆ecked.  Either      a regular ex┆
0x0680…06a0 70 72 65 73 73 69 6f 6e 20 6f 72 20 61 20 6c 65 6e 67 74 68 20 6d 75 73 74 20 62 65 20 67 69 76   ┆pression or a length must be giv┆
0x06a0…06c0 65 6e 20 77 69 74 68 20 74 68 65 20 63 6f 6d 2d 0a 20 20 20 20 20 6d 61 6e 64 2e 0a 0a 20 20 20   ┆en with the com-      mand.     ┆
0x06c0…06e0 20 20 41 6c 6c 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 6c 69 6d 69 74 65 64 20 69 6e 20 6c 65   ┆  All messages are limited in le┆
0x06e0…0700 6e 67 74 68 20 74 6f 20 37 30 20 63 68 61 72 61 63 74 65 72 73 20 61 6e 64 20 61 72 65 0a 20 20   ┆ngth to 70 characters and are   ┆
0x0700…0720 20 20 20 66 6f 72 6d 61 74 74 65 64 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 2e 20 20 41 6e 79   ┆   formatted automatically.  Any┆
0x0720…0740 20 77 68 69 74 65 20 73 70 61 63 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 64 65 66 69 6e 2d 0a   ┆ white space used in the defin- ┆
0x0740…0760 20 20 20 20 20 69 74 69 6f 6e 20 28 69 6e 63 6c 75 64 69 6e 67 20 6e 65 77 6c 69 6e 65 29 20 69   ┆     ition (including newline) i┆
0x0760…0780 73 20 73 74 72 69 70 70 65 64 2e 20 20 54 68 65 20 2d 08 2d 08 2d 08 2d 57 08 57 08 57 08 57 20   ┆s stripped.  The - - - -W W W W ┆
0x0780…07a0 6f 70 74 69 6f 6e 20 63 61 6e 2d 0a 20 20 20 20 20 63 65 6c 73 20 74 68 65 20 61 75 74 6f 6d 61   ┆option can-      cels the automa┆
0x07a0…07c0 74 69 63 20 66 6f 72 6d 61 74 74 69 6e 67 2e 20 20 57 68 65 6e 20 61 20 74 69 6c 64 65 20 69 73   ┆tic formatting.  When a tilde is┆
0x07c0…07e0 20 70 6c 61 63 65 64 20 61 74 0a 20 20 20 20 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 72   ┆ placed at      the beginning or┆
0x07e0…0800 20 65 6e 64 20 6f 66 20 61 20 6d 65 73 73 61 67 65 20 64 65 66 69 6e 69 74 69 6f 6e 2c 20 74 68   ┆ end of a message definition, th┆
0x0800…0820 65 20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 74 65 78 74 20 77 69 6c 6c 20 62 65 20 69 6e 73 65   ┆e default      text will be inse┆
0x0820…0840 72 74 65 64 20 61 74 20 74 68 61 74 20 70 6f 69 6e 74 2c 20 61 6c 6c 6f 77 69 6e 67 20 62 6f 74   ┆rted at that point, allowing bot┆
0x0840…0860 68 20 63 75 73 74 6f 6d 0a 20 20 20 20 20 74 65 78 74 20 61 6e 64 20 74 68 65 20 64 65 66 61 75   ┆h custom      text and the defau┆
0x0860…0880 6c 74 20 74 65 78 74 20 74 6f 20 62 65 20 64 69 73 70 6c 61 79 65 64 2e 0a 0a 20 20 20 20 20 49   ┆lt text to be displayed.       I┆
0x0880…08a0 66 20 74 68 65 20 70 72 6f 6d 70 74 2c 20 68 65 6c 70 20 6f 72 20 65 72 72 6f 72 20 6d 65 73 73   ┆f the prompt, help or error mess┆
0x08a0…08c0 61 67 65 20 69 73 20 6e 6f 74 20 64 65 66 69 6e 65 64 2c 20 74 68 65 0a 20 20 20 20 20 64 65 66   ┆age is not defined, the      def┆
0x08c0…08e0 61 75 6c 74 20 6d 65 73 73 61 67 65 20 28 61 73 20 64 65 66 69 6e 65 64 20 75 6e 64 65 72 20 4e   ┆ault message (as defined under N┆
0x08e0…0900 4f 54 45 53 29 20 77 69 6c 6c 20 62 65 20 64 69 73 70 6c 61 79 65 64 2e 0a 0a 20 20 20 20 20 54   ┆OTES) will be displayed.       T┆
0x0900…0920 68 72 65 65 20 76 69 73 75 61 6c 20 74 6f 6f 6c 20 6d 6f 64 75 6c 65 73 20 61 72 65 20 6c 69 6e   ┆hree visual tool modules are lin┆
0x0920…0940 6b 65 64 20 74 6f 20 74 68 65 20 5f 08 63 5f 08 6b 5f 08 73 5f 08 74 5f 08 72 20 63 6f 6d 6d 61   ┆ked to the _ c_ k_ s_ t_ r comma┆
0x0940…0960 6e 64 2e 0a 20 20 20 20 20 54 68 65 79 20 61 72 65 20 5f 08 65 5f 08 72 5f 08 72 5f 08 73 5f 08   ┆nd.      They are _ e_ r_ r_ s_ ┆
0x0960…0980 74 5f 08 72 20 28 77 68 69 63 68 20 66 6f 72 6d 61 74 73 20 61 6e 64 20 64 69 73 70 6c 61 79 73   ┆t_ r (which formats and displays┆
0x0980…09a0 20 61 6e 20 65 72 72 6f 72 20 6d 65 73 2d 0a 20 20 20 20 20 73 61 67 65 29 2c 20 5f 08 68 5f 08   ┆ an error mes-      sage), _ h_ ┆
0x09a0…09c0 65 5f 08 6c 5f 08 70 5f 08 73 5f 08 74 5f 08 72 20 28 77 68 69 63 68 20 66 6f 72 6d 61 74 73 20   ┆e_ l_ p_ s_ t_ r (which formats ┆
0x09c0…09e0 61 6e 64 20 64 69 73 70 6c 61 79 73 20 61 20 68 65 6c 70 20 6d 65 73 73 61 67 65 29 2c 0a 20 20   ┆and displays a help message),   ┆
0x09e0…0a00 20 20 20 61 6e 64 20 5f 08 76 5f 08 61 5f 08 6c 5f 08 73 5f 08 74 5f 08 72 20 28 77 68 69 63 68   ┆   and _ v_ a_ l_ s_ t_ r (which┆
0x0a00…0a20 20 76 61 6c 69 64 61 74 65 73 20 61 20 72 65 73 70 6f 6e 73 65 29 2e 20 20 54 68 65 73 65 20 6d   ┆ validates a response).  These m┆
0x0a20…0a40 6f 64 75 6c 65 73 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 62 65 20 75 73 65 64 20 69 6e 20 63 6f   ┆odules      should be used in co┆
0x0a40…0a60 6e 6a 75 6e 63 74 69 6f 6e 20 77 69 74 68 20 46 41 43 45 20 6f 62 6a 65 63 74 73 2e 20 20 49 6e   ┆njunction with FACE objects.  In┆
0x0a60…0a80 20 74 68 69 73 0a 20 20 20 20 20 69 6e 73 74 61 6e 63 65 2c 20 74 68 65 20 46 41 43 45 20 6f 62   ┆ this      instance, the FACE ob┆
0x0a80…0aa0 6a 65 63 74 20 64 65 66 69 6e 65 73 20 74 68 65 20 70 72 6f 6d 70 74 2e 0a 0a 20 20 20 20 20 54   ┆ject defines the prompt.       T┆
0x0aa0…0ac0 68 65 20 6f 70 74 69 6f 6e 73 20 61 6e 64 20 61 72 67 75 6d 65 6e 74 73 20 66 6f 72 20 74 68 69   ┆he options and arguments for thi┆
0x0ac0…0ae0 73 20 63 6f 6d 6d 61 6e 64 20 61 72 65 3a 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 51 08 51 08   ┆s command are:       - - - -Q Q ┆
0x0ae0…0b00 51 08 51 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 61 74 20 71 75 69 74 20 77 69 6c 6c 20 6e   ┆Q Q   Specifies that quit will n┆
0x0b00…0b20 6f 74 20 62 65 20 61 6c 6c 6f 77 65 64 20 61 73 20 61 20 76 61 6c 69 64 0a 20 20 20 20 20 20 20   ┆ot be allowed as a valid        ┆
0x0b20…0b40 20 20 20 72 65 73 70 6f 6e 73 65 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 57 08 57 08 57 08   ┆   response.       - - - -W W W ┆
0x0b40…0b60 57 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 61 74 20 70 72 6f 6d 70 74 2c 20 68 65 6c 70 20   ┆W   Specifies that prompt, help ┆
0x0b60…0b80 61 6e 64 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 77 69 6c 6c 20 62 65 0a 20 20 20 20 20   ┆and error messages will be      ┆
0x0b80…0ba0 20 20 20 20 20 66 6f 72 6d 61 74 74 65 64 20 74 6f 20 61 20 6c 69 6e 65 20 6c 65 6e 67 74 68 20   ┆     formatted to a line length ┆
0x0ba0…0bc0 6f 66 20 5f 08 77 5f 08 69 5f 08 64 5f 08 74 5f 08 68 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08   ┆of _ w_ i_ d_ t_ h.       - - - ┆
0x0bc0…0be0 2d 72 08 72 08 72 08 72 20 20 20 53 70 65 63 69 66 69 65 73 20 61 20 72 65 67 75 6c 61 72 20 65   ┆-r r r r   Specifies a regular e┆
0x0be0…0c00 78 70 72 65 73 73 69 6f 6e 2c 20 5f 08 72 5f 08 65 5f 08 67 5f 08 65 5f 08 78 5f 08 70 2c 20 61   ┆xpression, _ r_ e_ g_ e_ x_ p, a┆
0x0c00…0c20 67 61 69 6e 73 74 20 77 68 69 63 68 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 69 6e 70 75 74   ┆gainst which           the input┆
0x0c20…0c40 20 73 68 6f 75 6c 64 20 62 65 20 76 61 6c 69 64 61 74 65 64 2e 20 20 4d 61 79 20 69 6e 63 6c 75   ┆ should be validated.  May inclu┆
0x0c40…0c60 64 65 20 77 68 69 74 65 0a 20 20 20 20 20 20 20 20 20 20 73 70 61 63 65 2e 20 20 49 66 20 6d 75   ┆de white           space.  If mu┆
0x0c60…0c80 6c 74 69 70 6c 65 20 65 78 70 72 65 73 73 69 6f 6e 73 20 61 72 65 20 64 65 66 69 6e 65 64 2c 20   ┆ltiple expressions are defined, ┆
0x0c80…0ca0 74 68 65 20 61 6e 73 77 65 72 0a 20 20 20 20 20 20 20 20 20 20 6d 75 73 74 20 6d 61 74 63 68 20   ┆the answer           must match ┆
0x0ca0…0cc0 6f 6e 6c 79 20 6f 6e 65 20 6f 66 20 74 68 65 6d 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 2d 08   ┆only one of them.             - ┆
0x0cc0…0ce0 2d 08 2d 08 2d 6c 08 6c 08 6c 08 6c 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6d 61 78   ┆- - -l l l l   Specifies the max┆
0x0ce0…0d00 69 6d 75 6d 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 69 6e 70 75 74 2e 0a 0a 20 20 20 20 20   ┆imum length of the input.       ┆
0x0d00…0d20 2d 08 2d 08 2d 08 2d 64 08 64 08 64 08 64 20 20 20 44 65 66 69 6e 65 73 20 74 68 65 20 64 65 66   ┆- - - -d d d d   Defines the def┆
0x0d20…0d40 61 75 6c 74 20 76 61 6c 75 65 20 61 73 20 5f 08 64 5f 08 65 5f 08 66 5f 08 61 5f 08 75 5f 08 6c   ┆ault value as _ d_ e_ f_ a_ u_ l┆
0x0d40…0d60 5f 08 74 2e 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 6e   ┆_ t.  The default is           n┆
0x0d60…0d80 6f 74 20 76 61 6c 69 64 61 74 65 64 20 61 6e 64 20 73 6f 20 64 6f 65 73 20 6e 6f 74 20 68 61 76   ┆ot validated and so does not hav┆
0x0d80…0da0 65 20 74 6f 20 6d 65 65 74 20 61 6e 79 20 63 72 69 2d 0a 20 20 20 20 20 20 20 20 20 20 74 65 72   ┆e to meet any cri-           ter┆
0x0da0…0dc0 69 61 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 68 08 68 08 68 08 68 20 20 20 44 65 66 69 6e   ┆ia.       - - - -h h h h   Defin┆
0x0dc0…0de0 65 73 20 74 68 65 20 68 65 6c 70 20 6d 65 73 73 61 67 65 73 20 61 73 20 5f 08 68 5f 08 65 5f 08   ┆es the help messages as _ h_ e_ ┆
0x0de0…0e00 6c 5f 08 70 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 65 08 65 08 65 08 65 20 20 20 44 65 66   ┆l_ p.       - - - -e e e e   Def┆
0x0e00…0e20 69 6e 65 73 20 74 68 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 61 73 20 5f 08 65 5f 08 72   ┆ines the error message as _ e_ r┆
0x0e20…0e40 5f 08 72 5f 08 6f 5f 08 72 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 70 08 70 08 70 08 70 20   ┆_ r_ o_ r.       - - - -p p p p ┆
0x0e40…0e60 20 20 44 65 66 69 6e 65 73 20 74 68 65 20 70 72 6f 6d 70 74 20 6d 65 73 73 61 67 65 20 61 73 20   ┆  Defines the prompt message as ┆
0x0e60…0e80 5f 08 70 5f 08 72 5f 08 6f 5f 08 6d 5f 08 70 5f 08 74 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08   ┆_ p_ r_ o_ m_ p_ t.       - - - ┆
0x0e80…0ea0 2d 6b 08 6b 08 6b 08 6b 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 61 74 20 70 72 6f 63 65 73   ┆-k k k k   Specifies that proces┆
0x0ea0…0ec0 73 20 49 44 20 5f 08 70 5f 08 69 5f 08 64 20 69 73 20 74 6f 20 62 65 20 73 65 6e 74 20 61 20 73   ┆s ID _ p_ i_ d is to be sent a s┆
0x0ec0…0ee0 69 67 6e 61 6c 20 69 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 75 73 65 72 20 63 68 6f 6f   ┆ignal if           the user choo┆
0x0ee0…0f00 73 65 73 20 74 6f 20 61 62 6f 72 74 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 73 08 73 08 73   ┆ses to abort.       - - - -s s s┆
0x0f00…0f20 08 73 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 61 74 20 74 68 65 20 70 72 6f 63 65 73 73 20   ┆ s   Specifies that the process ┆
0x0f20…0f40 49 44 20 5f 08 70 5f 08 69 5f 08 64 20 64 65 66 69 6e 65 64 20 77 69 74 68 20 74 68 65 20 2d 08   ┆ID _ p_ i_ d defined with the - ┆
0x0f40…0f60 2d 08 2d 08 2d 6b 08 6b 08 6b 08 6b 0a 20 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 20 69 73   ┆- - -k k k k           option is┆
0x0f60…0f80 20 74 6f 20 62 65 20 73 65 6e 74 20 73 69 67 6e 61 6c 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f   ┆ to be sent signal _ s_ i_ g_ n_┆
0x0f80…0fa0 08 61 5f 08 6c 20 77 68 65 6e 20 71 75 69 74 20 69 73 20 63 68 6f 73 65 6e 2e 0a 20 20 20 20 20   ┆ a_ l when quit is chosen.      ┆
0x0fa0…0fc0 20 20 20 20 20 49 66 20 6e 6f 20 73 69 67 6e 61 6c 20 69 73 20 73 70 65 63 69 66 69 65 64 2c 20   ┆     If no signal is specified, ┆
0x0fc0…0fe0 53 49 47 54 45 52 4d 20 69 73 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 5f 08 69 5f 08 6e 5f 08 70   ┆SIGTERM is used.       _ i_ n_ p┆
0x0fe0…1000 5f 08 75 5f 08 74 0a 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 20 74 6f 20 62 65 20 76 65 72   ┆_ u_ t           Input to be ver┆
0x1000…1020 69 66 69 65 64 20 61 67 61 69 6e 73 74 20 66 6f 72 6d 61 74 20 6c 65 6e 67 74 68 20 61 6e 64 2f   ┆ified against format length and/┆
0x1020…1040 6f 72 20 72 65 67 75 2d 0a 20 20 20 20 20 20 20 20 20 20 6c 61 72 20 65 78 70 72 65 73 73 69 6f   ┆or regu-           lar expressio┆
0x1040…1060 6e 20 63 72 69 74 65 72 69 61 2e 0a 0a 45 08 45 08 45 08 45 58 08 58 08 58 08 58 49 08 49 08 49   ┆n criteria.  E E E EX X X XI I I┆
0x1060…1080 08 49 54 08 54 08 54 08 54 20 43 08 43 08 43 08 43 4f 08 4f 08 4f 08 4f 44 08 44 08 44 08 44 45   ┆ IT T T T C C C CO O O OD D D DE┆
0x1080…10a0 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 30 08 30 08 30 08 30 20 3d 20 53 75 63   ┆ E E ES S S S      0 0 0 0 = Suc┆
0x10a0…10c0 63 65 73 73 66 75 6c 20 65 78 65 63 75 74 69 6f 6e 0a 20 20 20 20 20 31 08 31 08 31 08 31 20 3d   ┆cessful execution      1 1 1 1 =┆
0x10c0…10e0 20 45 4f 46 20 6f 6e 20 69 6e 70 75 74 0a 20 20 20 20 20 32 08 32 08 32 08 32 20 3d 20 55 73 61   ┆ EOF on input      2 2 2 2 = Usa┆
0x10e0…1100 67 65 20 65 72 72 6f 72 0a 20 20 20 20 20 33 08 33 08 33 08 33 20 3d 20 55 73 65 72 20 74 65 72   ┆ge error      3 3 3 3 = User ter┆
0x1100…1120 6d 69 6e 61 74 69 6f 6e 20 28 71 75 69 74 29 0a 0a 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 54   ┆mination (quit)  N N N NO O O OT┆
0x1120…1140 08 54 08 54 08 54 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 64 65   ┆ T T TE E E ES S S S      The de┆
0x1140…1160 66 61 75 6c 74 20 70 72 6f 6d 70 74 20 66 6f 72 20 5f 08 63 5f 08 6b 5f 08 73 5f 08 74 5f 08 72   ┆fault prompt for _ c_ k_ s_ t_ r┆
0x1160…1180 20 69 73 3a 0a 0a 20 20 20 20 20 20 20 45 08 45 08 45 08 45 6e 08 6e 08 6e 08 6e 74 08 74 08 74   ┆ is:         E E E En n n nt t t┆
0x1180…11a0 08 74 65 08 65 08 65 08 65 72 08 72 08 72 08 72 20 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 20   ┆ te e e er r r r a a a an n n n ┆
0x11a0…11c0 61 08 61 08 61 08 61 70 08 70 08 70 08 70 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08   ┆a a a ap p p pp p p pr r r ro o ┆
0x11c0…11e0 6f 08 6f 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 61 08 61 08 61 08 61 74   ┆o op p p pr r r ri i i ia a a at┆
0x11e0…1200 08 74 08 74 08 74 65 08 65 08 65 08 65 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 6c 08 6c 08   ┆ t t te e e e v v v va a a al l ┆
0x1200…1220 6c 08 6c 75 08 75 08 75 08 75 65 08 65 08 65 08 65 20 5b 08 5b 08 5b 08 5b 3f 08 3f 08 3f 08 3f   ┆l lu u u ue e e e [ [ [ [? ? ? ?┆
0x1220…1240 2c 08 2c 08 2c 08 2c 71 08 71 08 71 08 71 5d 08 5d 08 5d 08 5d 3a 08 3a 08 3a 08 3a 0a 0a 20 20   ┆, , , ,q q q q] ] ] ]: : : :    ┆
0x1240…1260 20 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 69 73 20   ┆   The default error message is ┆
0x1260…1280 64 65 70 65 6e 64 65 6e 74 20 75 70 6f 6e 20 74 68 65 20 74 79 70 65 20 6f 66 0a 20 20 20 20 20   ┆dependent upon the type of      ┆
0x1280…12a0 76 61 6c 69 64 61 74 69 6f 6e 20 69 6e 76 6f 6c 76 65 64 2e 20 20 54 68 65 20 75 73 65 72 20 77   ┆validation involved.  The user w┆
0x12a0…12c0 69 6c 6c 20 62 65 20 74 6f 6c 64 20 65 69 74 68 65 72 20 74 68 61 74 20 74 68 65 0a 20 20 20 20   ┆ill be told either that the     ┆
0x12c0…12e0 20 6c 65 6e 67 74 68 20 6f 72 20 74 68 65 20 70 61 74 74 65 72 6e 20 6d 61 74 63 68 69 6e 67 20   ┆ length or the pattern matching ┆
0x12e0…1300 66 61 69 6c 65 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 68 65 6c 70 20 6d   ┆failed.       The default help m┆
0x1300…1320 65 73 73 61 67 65 20 69 73 20 61 6c 73 6f 20 64 65 70 65 6e 64 65 6e 74 20 75 70 6f 6e 20 74 68   ┆essage is also dependent upon th┆
0x1320…1340 65 20 74 79 70 65 20 6f 66 0a 20 20 20 20 20 76 61 6c 69 64 61 74 69 6f 6e 20 69 6e 76 6f 6c 76   ┆e type of      validation involv┆
0x1340…1360 65 64 2e 20 20 49 66 20 61 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 68 61 73   ┆ed.  If a regular expression has┆
0x1360…1380 20 62 65 65 6e 0a 20 20 20 20 20 64 65 66 69 6e 65 64 2c 20 74 68 65 20 6d 65 73 73 61 67 65 20   ┆ been      defined, the message ┆
0x1380…13a0 69 73 3a 0a 0a 20 20 20 20 20 20 20 50 08 50 08 50 08 50 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08   ┆is:         P P P Pl l l le e e ┆
0x13a0…13c0 65 61 08 61 08 61 08 61 73 08 73 08 73 08 73 65 08 65 08 65 08 65 20 65 08 65 08 65 08 65 6e 08   ┆ea a a as s s se e e e e e e en ┆
0x13c0…13e0 6e 08 6e 08 6e 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08 72 08 72 08 72 20 61 08 61 08 61   ┆n n nt t t te e e er r r r a a a┆
0x13e0…1400 08 61 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e   ┆ a s s s st t t tr r r ri i i in┆
0x1400…1420 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 77 08 77 08 77 08 77 68 08 68 08 68 08 68 69 08 69 08   ┆ n n ng g g g w w w wh h h hi i ┆
0x1420…1440 69 08 69 63 08 63 08 63 08 63 68 08 68 08 68 08 68 20 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61   ┆i ic c c ch h h h m m m ma a a a┆
0x1440…1460 74 08 74 08 74 08 74 63 08 63 08 63 08 63 68 08 68 08 68 08 68 65 08 65 08 65 08 65 73 08 73 08   ┆t t t tc c c ch h h he e e es s ┆
0x1460…1480 73 08 73 20 74 08 74 08 74 08 74 68 08 68 08 68 08 68 65 08 65 08 65 08 65 20 66 08 66 08 66 08   ┆s s t t t th h h he e e e f f f ┆
0x1480…14a0 66 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 77 08 77   ┆fo o o ol l l ll l l lo o o ow w┆
0x14a0…14c0 08 77 08 77 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 70 08 70 08 70 08   ┆ w wi i i in n n ng g g g p p p ┆
0x14c0…14e0 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08 72   ┆pa a a at t t tt t t te e e er r┆
0x14e0…1500 08 72 08 72 6e 08 6e 08 6e 08 6e 3a 08 3a 08 3a 08 3a 0a 20 20 20 20 20 20 20 72 08 72 08 72 08   ┆ r rn n n n: : : :        r r r ┆
0x1500…1520 72 65 08 65 08 65 08 65 67 08 67 08 67 08 67 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 08 70   ┆re e e eg g g ge e e ex x x xp p┆
0x1520…1540 08 70 08 70 0a 0a 20 20 20 20 20 4f 74 68 65 72 20 6d 65 73 73 61 67 65 73 20 64 65 66 69 6e 65   ┆ p p       Other messages define┆
0x1540…1560 20 74 68 65 20 6c 65 6e 67 74 68 20 72 65 71 75 69 72 65 6d 65 6e 74 20 61 6e 64 20 74 68 65 20   ┆ the length requirement and the ┆
0x1560…1580 64 65 66 69 6e 69 2d 0a 20 20 20 20 20 74 69 6f 6e 20 6f 66 20 61 20 73 74 72 69 6e 67 2e 0a 0a   ┆defini-      tion of a string.  ┆
0x1580…15a0 20 20 20 20 20 57 68 65 6e 20 74 68 65 20 71 75 69 74 20 6f 70 74 69 6f 6e 20 69 73 20 63 68 6f   ┆     When the quit option is cho┆
0x15a0…15c0 73 65 6e 20 28 61 6e 64 20 61 6c 6c 6f 77 65 64 29 2c 20 71 08 71 08 71 08 71 20 69 73 20 72 65   ┆sen (and allowed), q q q q is re┆
0x15c0…15e0 74 75 72 6e 65 64 0a 20 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 65 20 72 65 74 75 72   ┆turned      along with the retur┆
0x15e0…1600 6e 20 63 6f 64 65 20 33 08 33 08 33 08 33 2e 20 20 54 68 65 20 5f 08 76 5f 08 61 5f 08 6c 5f 08   ┆n code 3 3 3 3.  The _ v_ a_ l_ ┆
0x1600…1620 73 5f 08 74 5f 08 72 20 6d 6f 64 75 6c 65 20 77 69 6c 6c 20 6e 6f 74 0a 20 20 20 20 20 70 72 6f   ┆s_ t_ r module will not      pro┆
0x1620…1640 64 75 63 65 20 61 6e 79 20 6f 75 74 70 75 74 2e 20 20 49 74 20 72 65 74 75 72 6e 73 20 7a 65 72   ┆duce any output.  It returns zer┆
0x1640…1660 6f 20 66 6f 72 20 73 75 63 63 65 73 73 20 61 6e 64 20 6e 6f 6e 2d 0a 20 20 20 20 20 7a 65 72 6f   ┆o for success and non-      zero┆
0x1660…1680 20 66 6f 72 20 66 61 69 6c 75 72 65 2e 0a 0a 41 75 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20   ┆ for failure.  August 1991      ┆
0x1680…16a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20   ┆                             TX ┆
0x16a0…16b7 55 73 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a                              ┆User's Reference       ┆