Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ od(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hd(C)

adb(CP)


     OD(C)                                UNIX System V



     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
          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)


     Standards Conformance
          od is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 2/15/90)                                      OD(C)































































































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026