Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

od(1) OSS Shell and Utilities Reference Manual
-t type_string...
Species one or more output types. The type_string argument is a string that species
the types to be used when writing the input data. type_string consists of the following
type specication characters:
a Named character
c Character
d Signed decimal
f Floating point
o Octal
u Unsigned decimal
x Hexadecimal
The type specication characters d, f, o, u, and x can be followed by an optional
unsigned decimal integer that species the number of bytes to be transformed by each
instance of the output type.
The type specication 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 oat
D double
L long double
The type specication 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 specied in the
order in which you entered the type specication 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]
Species the number of input bytes to be interpreted and displayed on each output line.
If -w is not specied, 16 bytes are read for each display line. If number is not specied,
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.)
692 Hewlett-Packard Company 527188-007