Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
od(1) OSS Shell and Utilities Reference Manual
NAME
od - Writes the contents of a file to the standard output file
SYNOPSIS
od
[-v]
[-A address_base]
[-j skip]
[-N count]
[-t type_string...]
[file ...]
od
[-abBcCdDefFhHiIlLoOpPvxX
]
[-A address_base]
[-j skip]
[-N count]
[-t type_string...]
[-s][number]
[-w][number]
[file ...]
[+]
[offset]
[.][b | B]
[label][.][b | B]
FLAGS
Format characters are as follows:
-a Displays bytes as characters and displays them with their ASCII names. If the p charac-
ter is also given, bytes with even parity are underlined. The P character causes bytes
with odd parity to be underlined. Otherwise, parity is ignored.
-A address_base
Specifies the input offset base with the single-character address_base argument. The
characters d, o, and x specify that the offset base be written in decimal, octal, or hexade-
cimal, respectively. The character n specifies that the offset not be written at all.
-b Displays bytes as octal values. This flag is equivalent to -t o1.
-B Displays short words as octal values. This flag is equivalent to -o and -t o2.
-c Displays bytes as characters using the current setting of the LC_CTYPE variable. This
flag is equivalent to -t -c. The following nongraphic characters appear as C escape
sequences:
\0 Null
\a Alarm (or bell)
\b Backspace
\f Formfeed
\n Newline character
\r Enter
6−90 Hewlett-Packard Company 527188-007