mirror of
https://github.com/bobbimanners/GNO-Extras.git
synced 2024-12-22 17:30:13 +00:00
71 lines
1.3 KiB
Plaintext
71 lines
1.3 KiB
Plaintext
.TH OD 1
|
|
.SH NAME
|
|
od \- octal dump
|
|
.SH SYNOPSIS
|
|
.B od
|
|
[
|
|
.B \-bcdox
|
|
] [ 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 words in decimal.
|
|
.TP 3
|
|
.B o
|
|
Interpret words in octal.
|
|
.TP 3
|
|
.B x
|
|
Interpret 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)
|