home *** CD-ROM | disk | FTP | other *** search
-
-
-
- OD ST-UNIX User's Manual OD
-
-
-
- COMMAND
- od - octal, decimal, hex, ascii etc. dump
-
- FORMAT
- od [ -format ] [ file ] [ [+]offset[.][b] [label] ]
-
- DESCRIPTION
- _✓O_✓d displays _✓f_✓i_✓l_✓e, (standard input default), in one or more
- dump formats specified by _✓f_✓o_✓r_✓m_✓a_✓t (default is -o).
-
- The options for format are:
-
- a Interpret bytes as characters and display them with
- their ASCII names.
-
- b Interpret bytes as unsigned octal.
-
- c Interpret bytes as ASCII characters. Certain non-
- graphic characters appear as C escapes: null=\0,
- backspace=\b, formfeed=\f, newline=\n, return=\r,
- tab=\t; others appear as 3-digit octal numbers.
-
- d Interpret (short) words as unsigned decimal.
-
- D Interpret long words as unsigned decimal.
-
- e or F
- Interpret double words as double precision floating
- point.
-
- f Interpret long words as single precision floating
- point.
-
- h or x
- Interpret (short) words as unsigned hexadecimal.
-
- H or X
- Interpret long words as unsigned hexadecimal.
-
- i Interpret (short) words as signed decimal.
-
- l, I, or L
- Interpret long words as signed decimal.
-
- o or B
- Interpret (short) words as unsigned octal.
-
- O Interpret long words as unsigned octal.
-
- v Show all data. By default, display lines that are
- identical to the last line shown are not output, but
- are indicated with an ``*'' in column 1.
-
-
-
- Printed 28/March/1988 30 March 1987 1
-
-
-
-
-
-
- OD ST-UNIX User's Manual OD
-
-
-
- w_✓n Specifies the number of input bytes to be interpreted
- and displayed on each output line. If w is not speci-
- fied, 16 bytes are read for each display line. If _✓n is
- not specified, it defaults to 32.
-
- The _✓o_✓f_✓f_✓s_✓e_✓t argument specifies the byte offset into the file
- where dumping is to commence. By default this argument is
- interpreted in octal. A different radix can be specified;
- if ``.'' is appended to the argument, then _✓o_✓f_✓f_✓s_✓e_✓t is inter-
- preted in decimal. If _✓o_✓f_✓f_✓s_✓e_✓t begins with ``x'' or ``0x'',
- it is interpreted in hexadecimal. If ``b'' (``B'') is
- appended, the offset is interpreted as a block count, where
- a block is 512 bytes. If the _✓f_✓i_✓l_✓e argument is omitted, an
- _✓o_✓f_✓f_✓s_✓e_✓t argument must be preceded by ``+''.
-
- The radix of the displayed address will be the same as the
- radix of the _✓o_✓f_✓f_✓s_✓e_✓t, if specified; otherwise it will be
- octal.
-
- _✓L_✓a_✓b_✓e_✓l will be interpreted as a pseudo-address for the first
- byte displayed. It will be shown in ``()'' following the
- file offset.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Printed 28/March/1988 30 March 1987 2
-
-
-
-