Up to [local] / src / usr.bin / hexdump
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_1_BASE
Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 30 08:17:32 2001 UTC (22 years, 4 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.8: +262 -31 lines
Diff to previous 1.8 (colored)
Changes come from NetBSD, Lite-2 and me. ok deraadt od(1): - Enable support for printing 8-byte integers. - Added -C option for hexadecimal+ASCII display. - Fix od so it displays short files containing nulls. - POSIXification: The C, S, I and L modifiers now behave correctly, specifying output in units of a char, short, int and long (as defined by the host system) respectively. Support -N, equivalent to hexdump's -n (format only COUNT bytes of input). Add -j option which does the same thing as -s in hexdump (skipping some of the input). hexdump(1): - POSIX.2 doesn't specify hexdump so it can't be compatible with it... - add missing trailing \n in usage() printf