Difference between revisions of "Character escape codes"
From Zenitel Wiki
Line 4: | Line 4: | ||
! style="background:#ffdead;" width="70" | Alt. code | ! style="background:#ffdead;" width="70" | Alt. code | ||
! style="background:#ffdead;" width="30" | Hex | ! style="background:#ffdead;" width="30" | Hex | ||
− | |||
! style="background:#ffdead;" width="150" | Description | ! style="background:#ffdead;" width="150" | Description | ||
|- | |- | ||
− | | align=center| , || align=center|%, || align=center|%c || 2C | + | | align=center| , || align=center|%, || align=center|%c || 2C || Comma |
|- | |- | ||
− | | align=center| ( || align=center|%( || align=center|%o || 28 | + | | align=center| ( || align=center|%( || align=center|%o || 28 || Opening parenthese |
|- | |- | ||
− | | align=center| ) || align=center|%) || align=center|%p || 29 | + | | align=center| ) || align=center|%) || align=center|%p || 29 || Closing parenthese |
|- | |- | ||
− | | align=center| " || align=center|%" || align=center|%d || 22 | + | | align=center| " || align=center|%" || align=center|%d || 22 || Double quote |
|- | |- | ||
− | | align=center| ; || align=center|%; || align=center|%e || 3B | + | | align=center| ; || align=center|%; || align=center|%e || 3B || Semicolon |
|- | |- | ||
− | | align=center| TAB || align=center|%t || || 09 | + | | align=center| TAB || align=center|%t || || 09 || ASCII TAB (Horisontal tab) |
|- | |- | ||
− | | align=center| SP || align=center|%s || || 20 | + | | align=center| SP || align=center|%s || || 20 || Space |
|- | |- | ||
− | | align=center| CR || align=center|%r || || 0D | + | | align=center| CR || align=center|%r || || 0D || Carriage return |
|- | |- | ||
− | | align=center| LF || align=center|%n || || 0A | + | | align=center| LF || align=center|%n || || 0A || Line feed |
|- | |- | ||
− | | align=center| BEL || align=center|%a || || 07 | + | | align=center| BEL || align=center|%a || || 07 || Bell (Alert) |
|- | |- | ||
− | | align=center| BS || align=center|%b || || 08 | + | | align=center| BS || align=center|%b || || 08 || Backspace |
|- | |- | ||
− | | align=center| NUL || align=center|%0 || || 00 | + | | align=center| NUL || align=center|%0 || || 00 || ASCII NUL |
|- | |- | ||
− | | align=center| || align=center|%l || || 80 | + | | align=center| || align=center|%l || || 80 || Extended NUL ('\x80') |
|- | |- | ||
− | | align=center| || align=center|%q | + | | align=center| || align=center|%q || || || to quote next character in string (if not parameter or end of string) |
|- | |- | ||
|} | |} |
Revision as of 21:28, 31 March 2008
Char | Code | Alt. code | Hex | Description |
---|---|---|---|---|
, | %, | %c | 2C | Comma |
( | %( | %o | 28 | Opening parenthese |
) | %) | %p | 29 | Closing parenthese |
" | %" | %d | 22 | Double quote |
; | %; | %e | 3B | Semicolon |
TAB | %t | 09 | ASCII TAB (Horisontal tab) | |
SP | %s | 20 | Space | |
CR | %r | 0D | Carriage return | |
LF | %n | 0A | Line feed | |
BEL | %a | 07 | Bell (Alert) | |
BS | %b | 08 | Backspace | |
NUL | %0 | 00 | ASCII NUL | |
%l | 80 | Extended NUL ('\x80') | ||
%q | to quote next character in string (if not parameter or end of string) |