Bug 10126

Summary: hexdump parameter problem
Product: [Retired] Red Hat Linux Reporter: Riley H Williams <rhw>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-16 13:31:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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