From 94a2f8e42889df31bbca30bcb31e39b583e6cd40 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sat, 8 Jun 2013 11:24:35 +0000 Subject: \x takes up to 6 hex digits --- appl/cmd/tr.b | 2 +- dis/tr.dis | Bin 3429 -> 3429 bytes 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') diff --git a/dis/tr.dis b/dis/tr.dis index 069f6a2c..e1cd15e0 100644 Binary files a/dis/tr.dis and b/dis/tr.dis differ diff --git a/man/1/tr b/man/1/tr index 70105d03..dba92c96 100644 --- a/man/1/tr +++ b/man/1/tr @@ -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 -- cgit v1.2.3