Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
od(1) OSS Shell and Utilities Reference Manual
-t type_string...
Specifies one or more output types. The type_string argument is a string that specifies
the types to be used when writing the input data. type_string consists of the following
type specification characters:
a Named character
c Character
d Signed decimal
f Floating point
o Octal
u Unsigned decimal
x Hexadecimal
The type specification characters d, f, o, u, and x can be followed by an optional
unsigned decimal integer that specifies the number of bytes to be transformed by each
instance of the output type.
The type specification character f can be followed by one of the following optional char-
acters, which indicate the type of the item to which the conversion should be applied.
F float
D double
L long double
The type specification characters d, o, u, and x can be followed by one of the following
optional characters, which indicate the type of the item to which the conversion should
be applied:
C char
I int
L long
S short
You can concatenate multiple types within the same type_string argument and you can
specify multiple -t arguments. od writes the output lines for each type specified in the
order in which you entered the type specification characters.
-v Shows all data. By default, display lines that are identical to the previous line are not
output (except for the byte offsets), but are indicated with an * (asterisk) in column 1.
-w[number]
Specifies the number of input bytes to be interpreted and displayed on each output line.
If -w is not specified, 16 bytes are read for each display line. If number is not specified,
it defaults to 32.
-x Displays short words as unsigned hexadecimal values. (Same as -h and -t x2.)
-X Displays long words as unsigned hexadecimal values. (Same as -H.)
6−92 Hewlett-Packard Company 527188-007