Bug 10126 - hexdump parameter problem
Summary: hexdump parameter problem
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-11 18:55 UTC by Riley H Williams
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-16 13:31:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Riley H Williams 2000-03-11 18:55:25 UTC
This is probably under the wrong package, but I can't find the package for
th `hexdump` program. If you know which one it is, please redirect this
there...

**************************************************************************

According to its manual, the hexdump command, amongst others, accepts a
specifier of %08_Ax and, at least as far as the one supplied with RedHat
5.2 was concerned, it did indeed do so. However, the one supplied with 6.1
does NOT accept it, and reports an error message if it is used.

Does anybody have any idea what the reason behind this change is?

Also related to hexdump, I note that there are standard options for single
or double byte values in decimal and octal, but only for double byte values
in hex. Is this an oversight, or should there also be an option for single
byte values in hex?

Comment 1 Riley H Williams 2000-03-11 20:46:59 UTC
OK, I found the correct component, so I've moved it over...

Comment 2 Elliot Lee 2001-07-17 17:51:46 UTC
Reply from util-linux maintainer:

The manual says:
  The format is required and must be surrounded by double quote (" ") marks.

And:
  % hexdump -e %08_Ax foo
  hexdump: bad format {%08_Ax}
  % hexdump -e '"%08_Ax"' foo
  ...

So, there is no bug, and no contradiction with the man page.

Andries


Note You need to log in before you can comment on or make changes to this bug.