GNU bug report logs - #14657
od -cx

Previous Next

Package: coreutils;

Reported by: "VANDEMAN, MIKE" <mv2371 <at> att.com>

Date: Tue, 18 Jun 2013 20:01:01 UTC

Severity: normal

Tags: moreinfo, notabug

Merged with 14656

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "VANDEMAN, MIKE" <mv2371 <at> att.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 14657 <at> debbugs.gnu.org
Subject: bug#14657: od -cx
Date: Tue, 18 Jun 2013 20:24:32 +0000
[Message part 1 (text/plain, inline)]
I don't understand "about as well as it can be". It's either aligned, or it isn't. It's not:

[root <at> alpd054 root]# echo '      appl' | od -ctx1
0000000                           a   p   p   l  \n
        20 20 20 20 20 20 61 70 70 6c 0a

-----Original Message-----
From: Paul Eggert [mailto:eggert <at> cs.ucla.edu]
Sent: Tuesday, June 18, 2013 1:18 PM
To: VANDEMAN, MIKE
Cc: 14657 <at> debbugs.gnu.org
Subject: Re: bug#14657: od -cx

On 06/18/13 13:00, VANDEMAN, MIKE wrote:
> Why aren't the character- & hex translation lined up?:

It works for me.  When I run this shell script:

echo '      appl' | od -cx

the output is lined up, about as well as it can be:

0000000                           a   p   p   l  \n
           2020    2020    2020    7061    6c70    000a
0000013

If it's not working for you, please supply a test case
like the above.  We can't reproduce the bug simply by
looking at your output.

[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 344 days ago.

Previous Next


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