Annotation of 41BSD/cmd/sh/ctype.c, revision 1.1.1.1

1.1       root        1: #
                      2: /*
                      3:  *     UNIX shell
                      4:  *
                      5:  *     S. R. Bourne
                      6:  *     Bell Telephone Laboratories
                      7:  *
                      8:  */
                      9: 
                     10: #include       "defs.h"
                     11: 
                     12: char   _ctype1[] {
                     13: /*     000     001     002     003     004     005     006     007     */
                     14:        _EOF,   0,      0,      0,      0,      0,      0,      0,
                     15: 
                     16: /*     bs      ht      nl      vt      np      cr      so      si      */
                     17:        0,      _TAB,   _EOR,   0,      0,      0,      0,      0,
                     18: 
                     19:        0,      0,      0,      0,      0,      0,      0,      0,
                     20: 
                     21:        0,      0,      0,      0,      0,      0,      0,      0,
                     22: 
                     23: /*     sp      !       "       #       $       %       &       '       */
                     24:        _SPC,   0,      _DQU,   0,      _DOL1,  0,      _AMP,   0,
                     25: 
                     26: /*     (       )       *       +       ,       -       .       /       */
                     27:        _BRA,   _KET,   0,      0,      0,      0,      0,      0,
                     28: 
                     29: /*     0       1       2       3       4       5       6       7       */
                     30:        0,      0,      0,      0,      0,      0,      0,      0,
                     31: 
                     32: /*     8       9       :       ;       <       =       >       ?       */
                     33:        0,      0,      0,      _SEM,   _LT,    0,      _GT,    0,
                     34: 
                     35: /*     @       A       B       C       D       E       F       G       */
                     36:        0,      0,      0,      0,      0,      0,      0,      0,
                     37: 
                     38: /*     H       I       J       K       L       M       N       O       */
                     39:        0,      0,      0,      0,      0,      0,      0,      0,
                     40: 
                     41: /*     P       Q       R       S       T       U       V       W       */
                     42:        0,      0,      0,      0,      0,      0,      0,      0,
                     43: 
                     44: /*     X       Y       Z       [       \       ]       ^       _       */
                     45:        0,      0,      0,      0,      _BSL,   0,      _HAT,   0,
                     46: 
                     47: /*     `       a       b       c       d       e       f       g       */
                     48:        _LQU,   0,      0,      0,      0,      0,      0,      0,
                     49: 
                     50: /*     h       i       j       k       l       m       n       o       */
                     51:        0,      0,      0,      0,      0,      0,      0,      0,
                     52: 
                     53: /*     p       q       r       s       t       u       v       w       */
                     54:        0,      0,      0,      0,      0,      0,      0,      0,
                     55: 
                     56: /*     x       y       z       {       |       }       ~       del     */
                     57:        0,      0,      0,      0,      _BAR,   0,      0,      0
                     58: };
                     59: 
                     60: 
                     61: char   _ctype2[] {
                     62: /*     000     001     002     003     004     005     006     007     */
                     63:        0,      0,      0,      0,      0,      0,      0,      0,
                     64: 
                     65: /*     bs      ht      nl      vt      np      cr      so      si      */
                     66:        0,      0,      0,      0,      0,      0,      0,      0,
                     67: 
                     68:        0,      0,      0,      0,      0,      0,      0,      0,
                     69: 
                     70:        0,      0,      0,      0,      0,      0,      0,      0,
                     71: 
                     72: /*     sp      !       "       #       $       %       &       '       */
                     73:        0,      _PCS,   0,      _NUM,   _DOL2,  0,      0,      0,
                     74: 
                     75: /*     (       )       *       +       ,       -       .       /       */
                     76:        0,      0,      _AST,   _PLS,   0,      _MIN,   0,      0,
                     77: 
                     78: /*     0       1       2       3       4       5       6       7       */
                     79:        _DIG,   _DIG,   _DIG,   _DIG,   _DIG,   _DIG,   _DIG,   _DIG,
                     80: 
                     81: /*     8       9       :       ;       <       =       >       ?       */
                     82:        _DIG,   _DIG,   0,      0,      0,      _EQ,    0,      _QU,
                     83: 
                     84: /*     @       A       B       C       D       E       F       G       */
                     85:        _AT,    _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,
                     86: 
                     87: /*     H       I       J       K       L       M       N       O       */
                     88:        _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,
                     89: 
                     90: /*     P       Q       R       S       T       U       V       W       */
                     91:        _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,   _UPC,
                     92: 
                     93: /*     X       Y       Z       [       \       ]       ^       _       */
                     94:        _UPC,   _UPC,   _UPC,   _SQB,   0,      0,      0,      _UPC,
                     95: 
                     96: /*     `       a       b       c       d       e       f       g       */
                     97:        0,      _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,
                     98: 
                     99: /*     h       i       j       k       l       m       n       o       */
                    100:        _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,
                    101: 
                    102: /*     p       q       r       s       t       u       v       w       */
                    103:        _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,   _LPC,
                    104: 
                    105: /*     x       y       z       {       |       }       ~       del     */
                    106:        _LPC,   _LPC,   _LPC,   _CBR,   0,      _CKT,   0,      0
                    107: };
                    108: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.