OD(C) XENIX System V OD(C)
Name
od - Displays files in octal format.
Syntax
od [-bcdox] [ file ] [ [ + ]offset[ . ][ b ] ]
Description
od displays file in one or more formats as selected by the
first argument. If the first argument is missing, -o is the
default. The meanings of the format options are:
-b Interprets bytes in octal.
-c Interprets bytes in ASCII. Certain nongraphic
characters appear as C escapes: null=\0,
backspace=\b, form feed=\f, newline=\n, return=\r,
tab=\t; others appear as 3-digit octal numbers.
-d Interprets words in decimal.
-o Interprets words in octal.
-x Interprets words in hex.
The file argument specifies which file is to be displayed.
If no file argument is specified, the standard input is
used.
The offset argument specifies the offset in the file where
displaying is to start. 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. If the file argument is omitted, the
offset argument must be preceded by +.
The display continues until end-of-file.
See Also
hd(C), adb(CP)
Page 1 (printed 2/7/91)