Commit | Line | Data |
---|---|---|
96a3a758 KT |
1 | .th OD I 1/15/73 |
2 | .sh NAME | |
3 | od \*- octal dump | |
4 | .sh SYNOPSIS | |
5 | .bd od | |
6 | [ | |
7 | .bd \*-abcdho | |
8 | ] [ file ] [ [ | |
9 | .bd + | |
10 | ] offset[ \fB. \fR][ \fBb\fR ] ] | |
11 | .sh DESCRIPTION | |
12 | .it Od | |
13 | dumps | |
14 | .it file | |
15 | in | |
16 | one or more formats | |
17 | as | |
18 | selected by the first argument. | |
19 | If the first argument is missing | |
20 | .bd \*-o | |
21 | is default. | |
22 | The meanings of the format argument characters | |
23 | are: | |
24 | .s3 | |
25 | .lp +3 3 | |
26 | \fBa\fR interprets words as PDP-11 instructions and | |
27 | dis-assembles the operation code. | |
28 | Unknown operation codes print as ???. | |
29 | .s3 | |
30 | .lp +3 3 | |
31 | \fBb\fR interprets bytes in octal. | |
32 | .s3 | |
33 | .lp +3 3 | |
34 | \fBc\fR interprets bytes in ascii. | |
35 | Unknown ascii characters are printed as \\?. | |
36 | .s3 | |
37 | .lp +3 3 | |
38 | \fBd\fR interprets words in decimal. | |
39 | .s3 | |
40 | .lp +3 3 | |
41 | \fBh\fR interprets words in hex. | |
42 | .s3 | |
43 | .lp +3 3 | |
44 | \fBo\fR interprets words in octal. | |
45 | .s3 | |
46 | .s3 | |
47 | .i0 | |
48 | The \fIfile\fR argument specifies which file is to be dumped. | |
49 | If no file argument is specified, | |
50 | the standard input is used. | |
51 | Thus | |
52 | .it od | |
53 | can be used as a filter. | |
54 | .s3 | |
55 | The offset argument specifies the offset | |
56 | in the file where dumping is to commence. | |
57 | This argument is normally interpreted | |
58 | as octal bytes. | |
59 | If `\fB.\fR' is appended, the offset is interpreted in | |
60 | decimal. | |
61 | If `\fBb\fR' is appended, the offset is interpreted in blocks. | |
62 | (A block is 512 bytes.) | |
63 | If the file argument is omitted, | |
64 | the offset argument must be preceded by `\fB+\fR'. | |
65 | .s3 | |
66 | Dumping continues until end-of-file. | |
67 | .sh "SEE ALSO" | |
68 | db(I) | |
69 | .sh BUGS |