bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coreutils: tr] \55 \133 \135 taken as syntax tokens


From: Stephane Chazelas
Subject: [coreutils: tr] \55 \133 \135 taken as syntax tokens
Date: Mon, 6 Dec 2004 09:50:45 +0000
User-agent: Mutt/1.5.6i

(coreutils 5.2.1, on Debian Linux, C locale).

$ echo mmm | tr 'a\55z' a
aaa
(expected mmm)

$ echo abcd | tr 'abcd' '\133m*\135'
mmmm
(expected [m*])

If I understand
http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html
correctly,

\55, \133, \135 should be treated as values to placed into the
arrays and shouldn't have the special meaning they have once
expanded.

regards,
Stéphane





reply via email to

[Prev in Thread] Current Thread [Next in Thread]