Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

od(1) OSS Shell and Utilities Reference Manual
\t Tab
\v Vertical tab
Other nongraphic characters appear as 3-digit octal numbers. Bytes with the parity bit
set are displayed in octal.
-C Displays any extended characters as standard printable ASCII characters using the
appropriate character escape string.
-d Displays short words as unsigned decimal values. This ag is equivalent to -t u2.
-D Displays long words as unsigned decimal values.
-e Displays long words as double-precision,
oating-point. (Same as -F.)
-f Displays long words as single-precision,
oating-point.
-F Displays long words as double-precision,
oating-point.
-h Displays short words as unsigned hexadecimal values.
-H Displays long words as unsigned hexadecimal values.
-i Displays short words as signed decimal values.
-I, -l, -L Display long words as signed decimal values. (The three ags are identical.)
-j skip Jumps over (reading or seeking) skip bytes from the beginning of the concatenated input
les. If the input is not at least skip bytes long, od writes a diagnostic message to stan-
dard error and returns a nonzero exit value.
The skip argument is interpreted as a decimal number by default. If you include a lead-
ing offset of 0x or 0X, skip is interpreted as a hexadecimal number. A leading offset of 0
(zero) causes skip to be interpreted as an octal number.
If you append the character b, k,orm to skip, the number is interpreted as a multiple of
512, 1024, or 1,048,576 bytes, respectively.
-N count Causes od to format no more than count bytes of input.
The count argument is interpreted as a decimal number by default. If you include a lead-
ing offset of 0x or 0X, count is interpreted as a hexadecimal number. A leading offset of
0 (zero) causes count to be interpreted as an octal number. If there are not count bytes of
input available (after successfully skipping bytes as specied by -j), od formats the
available input.
-o Displays short words as octal values. This ag is equivalent to -t o2. This is the default.
-O Displays long words as unsigned octal values.
-p Indicates even parity on -a conversion.
-P Indicates odd parity on -a conversion.
-s[number]
Looks for strings of ASCII graphic characters, terminated with a null byte. number
species the minimum length string to be recognized. By default, the minimum length is
3 characters. Allowable characters are those between blank (040) and tilde (0176), as
well as backspace, tab, linefeed, formfeed, and carriage-return (010 through 015, except
013).
690 Hewlett-Packard Company 527188-003