Research V3 development
[unix-history] / man / man1 / od.1
CommitLineData
ad4f09a5
KT
1.pa 1
2.he 'OD (I)'1/15/73'OD (I)'
3.ti 0
4NAME od -- octal dump
5.sp
6.ti 0
7SYNOPSIS od\b\b__ [ -abcdho\b\b\b\b\b\b\b_______ ] [ file ] [ [+\b_]offset[.\b_][b\b_] ]
8.sp
9.ti 0
10DESCRIPTION od\b\b__
11dumps
12file\b\b\b\b____
13in
14one or more formats
15as
16selected by the first argument.
17(If the first argument is missing, -o\b\b__ is default.)
18The meanings of the format argument characters
19are:
20
21.in +5
22.ti -2
23a\b_ interprets words as PDP-11 instructions and
24dis-assembles the operation code.
25Unknown operation codes print as ???.
26
27.ti -2
28b\b_ interprets bytes in octal.
29
30.ti -2
31c\b_ interprets bytes in ascii.
32Unknown ascii characters are printed as \\?.
33
34.ti -2
35d\b_ interprets words in decimal.
36
37.ti -2
38h\b_ interprets words in hex.
39
40.ti -2
41o\b_ interprets words in octal.
42
43.in -5
44The file argument specifies which file is to be dumped.
45If no file argument is specified,
46the standard input is used.
47Thus od can be used as a filter.
48
49The offset argument specifies the offset
50in the file where dumping is to commence.
51This argument is normally interpreted
52as octal bytes.
53If '.' is appended, the offset is interpreted in
54decimal.
55If 'b' is appended, the offset is interpreted in blocks.
56(A block is 512 bytes.)
57If the file argument is omitted,
58the offset argument must be preceded by '+'.
59
60Dumping continues until an end-of-file
61condition or until
62halted by sending an interrupt signal.
63.sp
64.ti 0
65FILES --
66.sp
67.ti 0
68SEE ALSO db(I)
69.sp
70.ti 0
71DIAGNOSTICS --
72.sp
73.ti 0
74BUGS --