diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-08 11:24:35 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-08 11:24:35 +0000 |
| commit | 94a2f8e42889df31bbca30bcb31e39b583e6cd40 (patch) | |
| tree | c4a21b1c39483afe1ab8fa44d43a1927d554252e | |
| parent | 342a051bd0c87d5042aedcb934df74c1f72082ac (diff) | |
\x takes up to 6 hex digits
| -rw-r--r-- | appl/cmd/tr.b | 2 | ||||
| -rw-r--r-- | dis/tr.dis | bin | 3429 -> 3429 bytes | |||
| -rw-r--r-- | man/1/tr | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/appl/cmd/tr.b b/appl/cmd/tr.b index 202ace53..60d4aa6c 100644 --- a/appl/cmd/tr.b +++ b/appl/cmd/tr.b @@ -251,7 +251,7 @@ Pcb.getc(p: self ref Pcb): int n := 0; if ((r = p.spec[s]) == 'x') { s++; - for (i := 0; i < 4 && s < p.end; i++) { + for (i := 0; i < 6 && s < p.end; i++) { p.current = s; r = p.spec[s++]; if ('0' <= r && r <= '9') Binary files differ@@ -62,9 +62,9 @@ character whose value is given by those digits. The character sequence .L \ex -followed by 1, 2, 3, or 4 hexadecimal digits stands +followed by 1 to 6 hexadecimal digits stands for the character whose -16-bit value is given by those digits. +21-bit value is given by those digits. A .L \e followed by any other character stands |
