Version 0.1.2 behavior is documented here. Thesupport record separates local verification frompublished MoonX behavior; moonx examples use registry releases.
Display bytes as octal, hexadecimal, decimal, or characters:
With no format option, od prints two-byte octal values and octal addresses.-t/--format accepts named characters (a), escaped characters (c), andsigned decimal (d), unsigned decimal (u), octal (o), or hexadecimal (x)integers of 1, 2, 4, or 8 bytes. Integer sizes default to 4; C/S/I/L select1/2/4/8 bytes. Append z for a printable ASCII trailer. Formats can be combinedor repeated. -a/-b/-c/-d/-i/-l/-o/-s/-x select the traditional formats.
Floating formats use the frozen GNU Linux amd64 profile on all hosts andbackends: f/f8/fD is IEEE binary64, f4/fF is IEEE binary32, and f16/fLis the x87 80-bit value stored in a 16-byte slot. f2/fH is IEEE binary16 andfB is bfloat16; their decimal rendering follows promotion to binary32.The frozen provider has no 10- or 12-byte floating type. -f selects fF; -e/-F selectsfD. Conversion preserves signed zero, infinities, NaNs, subnormals and GNU'sround-trip decimal precision search without narrowing wider values to Double.Short elements receive physical trailing zero bytes before endian conversion.
-A selects decimal, octal, hexadecimal, or no addresses (d/o/x/n). -jskips bytes and -N limits bytes across the concatenation of all file operands.Counts accept decimal, leading-zero octal, hexadecimal, and b/K/M/G suffixes.No file, or -, reads stdin. -wN controls line width; bare -w selects 32bytes, and the default is 16. Zero selects that default. A width incompatiblewith the selected type sizes warns and uses their common unit size, matchingthe frozen provider. Widths are bounded at 1048576. -v disables duplicate-line folding.
The current profile uses little-endian integers by default on supportedNative/Wasm targets; --endian=big or --endian=little selects byte orderexplicitly. Characters use C-locale byte rules.
-S N or --strings[=N] prints runs of at least N printable C bytes terminated by NULor the selected -N boundary; the default minimum is 3. A run cut off by EOFis not printed. Candidates span input files and read chunks. String modecannot be combined with an explicit output type.
--traditional accepts one optional file followed by old offset and labeloperands. These use octal by default, 0x for hexadecimal, a trailing dot fordecimal, and optional b (512) or B (1024) block multipliers. Labels appear in parentheses.With -An, the frozen provider displays the true offset in those parentheses.Without modern options, the applicable POSIX +OFFSET form is also accepted;modern options retain file operand interpretation unless --traditional isexplicit. --help and --version are available. Errors return 1.
Standalone --version prints exactly od 0.1.2 followed by onenewline. Standalone --help starts with Usage: od, lists bothmetadata options, and ends with a newline. Both write to stdout, leave stdinunread, and exit with status 0. Exact-version publication and verificationremain recorded separately in the support record.