Commit | Line | Data |
---|---|---|
9945cd97 KT |
1 | .TH OD 1 |
2 | .SH NAME | |
3 | od \- octal dump | |
4 | .SH SYNOPSIS | |
5 | .B od | |
6 | [ | |
7 | .B \-bcdox | |
8 | ] [ file ] [ [ | |
9 | .B + | |
10 | ]offset[ | |
11 | .BR ". " "][" | |
12 | \fBb\fR ] ] | |
13 | .SH DESCRIPTION | |
14 | .I Od | |
15 | dumps | |
16 | .I file | |
17 | in | |
18 | one or more formats | |
19 | as | |
20 | selected by the first argument. | |
21 | If the first argument is missing, | |
22 | .B \-o | |
23 | is default. | |
24 | The meanings of the format argument characters | |
25 | are: | |
26 | .TP 3 | |
27 | .B b | |
28 | Interpret bytes in octal. | |
29 | .TP 3 | |
30 | .B c | |
31 | Interpret bytes in ASCII. | |
32 | Certain non-graphic characters appear as C escapes: | |
33 | null=\e0, | |
34 | backspace=\eb, | |
35 | formfeed=\ef, | |
36 | newline=\en, | |
37 | return=\er, | |
38 | tab=\et; | |
39 | others appear as 3-digit octal numbers. | |
40 | .TP 3 | |
41 | .B d | |
42 | Interpret words in decimal. | |
43 | .TP 3 | |
44 | .B o | |
45 | Interpret words in octal. | |
46 | .TP 3 | |
47 | .B x | |
48 | Interpret words in hex. | |
49 | .PP | |
50 | The | |
51 | .I file | |
52 | argument specifies which file is to be dumped. | |
53 | If no file argument is specified, | |
54 | the standard input is used. | |
55 | .PP | |
56 | The offset argument specifies the offset | |
57 | in the file where dumping is to commence. | |
58 | This argument is normally interpreted | |
59 | as octal bytes. | |
60 | If `\fB.\fR' is appended, the offset is interpreted in | |
61 | decimal. | |
62 | If `\fBb\fR' is appended, the offset is interpreted in | |
63 | blocks of 512 bytes. | |
64 | If the file argument is omitted, | |
65 | the offset argument must be preceded | |
66 | .RB ` + '. | |
67 | .PP | |
68 | Dumping continues until end-of-file. | |
69 | .SH "SEE ALSO" | |
70 | adb(1) |