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