GNU bug report logs - #27785
doc: tr: mention parsing of 4 digits octal escape values

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 22 Jul 2017 02:24:02 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: tr: mention that leading zeros are a no-no in e.g., \0377
Date: Sat, 22 Jul 2017 08:44:31 +0800
In (info "(coreutils) Character sets")

     ‘\OOO’
          The 8-bit character with the value given by OOO, which is 1 to
          3 octal digits.  Note that ‘\400’ is interpreted as the
          two-byte sequence, ‘\040’ ‘0’.

It is very important to also add here:

          and \0377 is interpreted as \037 and 7.

(You add the quotes. I can't with my keyboard.)





This bug report was last modified 6 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.