OD(I) − PWB/UNIX 1/15/73
NAME
od − octal dump
SYNOPSIS
od [ −abcdho ] [ file ] [ [ + ] offset[ . ][ b ] ]
DESCRIPTION
Od dumps file in one or more formats as selected by the first argument. If the first argument is missing −o is default. The meanings of the format argument characters are:
ainterprets words as PDP-11 instructions and dis-assembles the operation code. Unknown operation codes print as ???.
binterprets bytes in octal.
cinterprets bytes in ascii. Unknown ascii characters are printed as \?.
dinterprets words in decimal.
hinterprets words in hex.
ointerprets words in octal.
The file argument specifies which file is to be dumped. If no file argument is specified, the standard input is used. Thus od can be used as a filter. The offset argument specifies the offset in the file where dumping is to commence. This argument is normally interpreted as octal bytes. If ‘.’ is appended, the offset is interpreted in decimal. If ‘b’ is appended, the offset is interpreted in blocks. (A block is 512 bytes.) If the file argument is omitted, the offset argument must be preceded by ‘+’. Dumping continues until end-of-file.
SEE ALSO
BUGS