Reference
Backslash Sequences
\a | Bell. (0x7) |
\b | Backspace. (0x8) |
\f | Form feed. (0xc) |
\n | Newline. (0xa) |
\r | Carriage return. (0xd) |
\t | Tab. (0x9) |
\v | Vertical tab. (0xb) |
\<newline> | Replace the newline and the leading white space on the next line with a space. |
\\ | Backslash. ('\') |
\ooo | Octal specification of character code. 1, 2, or 3 digits. |
\xhh | Hexadecimal specification of character code. 1 or 2 digits. |
\uhhhh | Hexadecimal specification of a 16-bit Unicode character value. 4 hex digits. |
\c | Replaced with literal c if c is not one of the cases listed above. In particular, \$, \", \{, \}, \], and \[ are used to obtain these characters. |
Arithmetic Operators
- ~ ! | Unary minus, bitwise ... |
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.