4.1cBSD/usr/man/man1/od.1

Compare this file to the similar file:
Show the results in this format:

.TH OD 1 "1 April 1981"
.UC 4
.SH NAME
od \- octal dump
.SH SYNOPSIS
.B od
[
.B \-abcdoxDOXw
] [ file ] [ [
.B +
]offset[
.BR ". " "]["
\fBb\fR ] ]
.SH DESCRIPTION
.I Od
dumps
.I file
in
one or more formats
as
selected by the first argument.
If the first argument is missing,
.B \-o
is default.
The meanings of the format argument characters
are:
.TP 3
.B  b
Interpret bytes in octal.
.TP 3
.B  c
Interpret bytes in ASCII.
Certain non-graphic characters appear as C escapes:
null=\e0,
backspace=\eb,
formfeed=\ef,
newline=\en,
return=\er,
tab=\et;
others appear as 3-digit octal numbers.
.TP 3
.B  d
Interpret shorts (16 bit words) in decimal.
.TP 3
.B  o
Interpret shorts (16 bit words) in octal.
.TP 3
.B  w
Produce wide (132 column) output.
.TP 3
.B  x
Interpret shorts (16 bit words) in hex.
.TP 3
.B  D
Interpret longs (32 bit words) in decimal.
.TP 3
.B  O
Interpret longs (32 bit words) in octal.
.TP 3
.B  X
Interpret longs (32 bit words) in hex.
.PP
The
.I file
argument specifies which file is to be dumped.
If no file argument is specified,
the standard input is used.
.PP
The offset argument specifies the offset
in the file where dumping is to commence.
This argument is normally interpreted
as octal bytes.
If `\fB.\fR' is appended, the offset is interpreted in
decimal.
If `\fBb\fR' is appended, the offset is interpreted in
blocks of 512 bytes.
If the file argument is omitted,
the offset argument must be preceded 
.RB ` + '.
.PP
Dumping continues until end-of-file.
.SH "SEE ALSO"
adb(1)