Line | |
---|
1 | .TH OD 1
|
---|
2 | .SH NAME
|
---|
3 | od \- octal dump
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBod\fR [\fB\-bcdhox\fR]\fR [\fIfile\fR] [ [\fB+\fR] \fIoffset\fR [\fB.\fR][\fBb\fR]\fR ]\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-b" "Dump bytes in octal"
|
---|
19 | .FL "\-c" "Dump bytes as ASCII characters"
|
---|
20 | .FL "\-d" "Dump words in decimal"
|
---|
21 | .FL "\-h" "Print addresses in hex (default is octal)"
|
---|
22 | .FL "\-o" "Dump words in octal (default)"
|
---|
23 | .FL "\-v" "Verbose (list duplicate lines)"
|
---|
24 | .FL "\-x" "Dump words in hex"
|
---|
25 | .SH EXAMPLES
|
---|
26 | .EX "od \-ox file" "Dump \fIfile\fP in octal and hex"
|
---|
27 | .EX "od \-d file +1000" "Dump \fIfile\fP starting at byte 01000"
|
---|
28 | .EX "od \-c file +10.b" "Dump \fIfile\fP starting at block 10"
|
---|
29 | .SH DESCRIPTION
|
---|
30 | .PP
|
---|
31 | .I Od
|
---|
32 | dumps a file in one or more formats.
|
---|
33 | If \fIfile\fP is missing, \fIstdin\fR is dumped.
|
---|
34 | The \fIoffset\fP argument tells
|
---|
35 | .I od
|
---|
36 | to skip a certain number of bytes or blocks before starting.
|
---|
37 | The offset is in octal bytes, unless it is followed by a
|
---|
38 | \&'.\&' for decimal or \fBb\fP for blocks or both.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.