Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 20.2 The Dbx DebuggerChapter 21 
 

21. ASCII Character Set

This section presents the set of ASCII characters, along with their equivalent values in decimal, octal, and hexadecimal. The first table shows nonprinting characters. This table would be useful when you need to represent nonprinting characters in some printed form, such as octal. For example, the echo and tr commands let you specify characters using octal values of the form \nnn. Also, the od command can be used to display nonprinting characters in a variety of forms.

The second table shows printing characters. This table would be useful when using the commands mentioned above, but also when specifying a range of characters in a pattern-matching construct.

Table 21.1: Nonprinting Characters
DecimalOctalHexCharacterRemark
000000CTRL-@NUL (Null prompt)
100101CTRL-ASOH (Start of heading)
200202CTRL-BSTX (Start of text)
300303CTRL-CETX (End of text)
400404CTRL-DEOT (End of transmission)
500505CTRL-EENQ (Enquiry)
600606CTRL-FACK (Acknowledge)
700707CTRL-GBEL (Bell)
801008CTRL-HBS (Backspace)
901109CTRL-IHT (Horizontal tab)
100120ACTRL-JLF (Linefeed)
110130BCTRL-KVT (Vertical tab)
120140CCTRL-LNP (New page) or FF (Formfeed)
130150DCTRL-MCR (Carriage return)
140160ECTRL-NSO (Shift out)
150170FCTRL-OSI (Shift in)
1602010CTRL-PDLE (Data link escape)
1702111CTRL-QDC1 (X-ON)
1802212CTRL-RDC2
1902313CTRL-SDC3 (X-OFF)
2002414CTRL-TDC4
2102515CTRL-UNAK (No acknowledge)
2202616CTRL-VSYN (Synchronous idle)
2302717CTRL-WETB (End transmission blocks)
2403018CTRL-XCAN (Cancel)
2503119CTRL-YEM (End of medium)
260321ACTRL-ZSUB (Substitute)
270331BCTRL-[ESC (Escape)
280341CCTRL-\FS (File separator)
290351DCTRL-]GS (Group separator)
300361ECTRL-^RS (Record separator)
310371FCTRL-_US (Unit separator)
1271777FDEL (Delete or rubout)
Table 21.2: Printing Characters
DecimalOctalHexCharacterRemark
3204020 Space
3304121!Exclamation Point
3404222"Double quote
3504323#Sharp Sign
3604424$Dollar Sign
3704525%Percent Sign
3804626&Ampersand
3904727'Apostrophe
4005028(Left Parenthesis
4105129)Right Parenthesis
420522A*Asterisk
430532B+Plus Sign
440542C,Comma
450552D-Hyphen
460562E.Period
470572F/Slash (Virgule)
48060300
49061311
50062322
51063333
52064344
53065355
54066366
55067377
56070388
57071399
580723A:Colon
590733B;Semicolon
600743C<Left Angle Bracket
610753D&=Equal Sign
620763E>Right Angle Bracket
630773F?Question Mark
6410040@"At" Sign
6510141A
6610242B
6710343C
6810444D
6910545E
7010646F
7110747G
7211048H
7311149I
741124AJ
751134BK
761144CL
771154DM
781164EN
791174FO
8012050P
8112151Q
8212252R
8312353S
8412454T
8512555U
8612656V
8712757W
8813058X
8913159Y
901325AZ
911335B[Left Square Bracket
921345C\Backslash
931355D]Right Square Bracket
941365E&^Caret
951375F&_Underscore
9614060`Back Quote
9714161a
9814262b
9914363c
10014464d
10114565e
10214666f
10314767g
10415068h
10515169i
1061526Aj
1071536Bk
1081546Cl
1091556Dm
1101566En
1111576Fo
11216070p
11316171q
11416272r
11516373s
11616474t
11716575u
11816676v
11916777w
12017078x
12117179y
1221727Az
1231737B{Left Curly Brace
1241747C|Vertical Bar
1251757D}Right Curly Brace
1261767E~ Tilde


Previous: 20.2 The Dbx DebuggerUNIX in a Nutshell: System V Edition 
20.2 The Dbx DebuggerBook Index 

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System