GNU bug report logs - #17961
"od -c" producing numbers greater than 255 ?

Previous Next

Package: coreutils;

Reported by: Sebastian Pipping <sebastian <at> pipping.org>

Date: Sun, 6 Jul 2014 22:58:04 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sebastian Pipping <sebastian <at> pipping.org>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 17961 <at> debbugs.gnu.org
Subject: bug#17961: "od -c" producing numbers greater than 255 ?
Date: Mon, 07 Jul 2014 02:27:43 +0200
Hello!


Intersting, thanks for your reply.  For "-c" the man page reads

  "printable character or backslash escape"

I don't really see any mention of octal fallback in there :)
Personally, I would expect (and prefer) \x?? output for any
non-printable bytes from that description.  My vote too add that or at
least making the man page more precise about "-c", that would be cool.

I guess "od -t u1" is what I'll use in the meantime.

Best,



Sebastian





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

Previous Next


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