hexdump: default output format is not -x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

the man page of the actual version 2.26.2 states:

"If no format strings are specified, the default display is equivalent to specifying the -x option."


But:

The format for -x in the source: add_fmt("\"%07.7_ax \" 8/2 \"   %04x \" \"\\n\"", hex);

The format without given option: add_fmt("\"%07.7_ax \" 8/2 \"%04x \" \"\\n\"", hex);


Although they are very alike, the different spacing can confuse users when reading the man page and trying to understand the different options. I suggest to either update the man page, or fix the source hexdump.c line 146, so that the default output is really -x or vice versa.

Personally I dislike the many spaces one gets with -x and would prefer the default format string also for -x.

-- Reuti--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux