od.1 - sbase - suckless unix tools
 (HTM) git clone git://git.suckless.org/sbase
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       od.1 (1536B)
       ---
            1 .Dd October 25, 2015
            2 .Dt OD 1
            3 .Os sbase
            4 .Sh NAME
            5 .Nm od
            6 .Nd octal dump
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Fl bdosvx
           10 .Op Fl A Ar addrformat
           11 .Op Fl E | e
           12 .Op Fl j Ar skip
           13 .Op Fl t Ar outputformat...
           14 .Op Ar file ...
           15 .Sh DESCRIPTION
           16 .Nm
           17 writes an octal dump of each
           18 .Ar file
           19 to stdout.
           20 If no
           21 .Ar file
           22 is given
           23 .Nm
           24 reads from stdin.
           25 .Sh OPTIONS
           26 .Bl -tag -width Ds
           27 .It Fl A Ar addressformat
           28 .Ar addressformat
           29 is one of d|o|x|n and sets the address to be
           30 either in \fId\fRecimal, \fIo\fRctal, he\fIx\fRadecimal or \fIn\fRot
           31 printed at all.
           32 The default is octal.
           33 .It Fl E | e
           34 Force Little Endian
           35 .Fl ( e )
           36 or Big Endian
           37 .Fl ( E )
           38 system-independently.
           39 .It Fl b
           40 Equivalent to
           41 .Fl t o1 .
           42 .It Fl d
           43 Equivalent to
           44 .Fl t u2 .
           45 .It Fl j Ar skip
           46 Ignore the first
           47 .Ar skip
           48 bytes of input.
           49 .It Fl o
           50 Equivalent to
           51 .Fl t o2 .
           52 .It Fl s
           53 Equivalent to
           54 .Fl t d2 .
           55 .It Fl t Ar outputformat
           56 .Ar outputformat
           57 is a list of a|c|d|o|u|x followed by a digit or C|S|I|L and sets
           58 the content to be in n\fIa\fRmed character, \fIc\fRharacter, signed
           59 \fId\fRecimal, \fIo\fRctal, \fIu\fRnsigned decimal, or
           60 he\fIx\fRadecimal format, processing the given amount of bytes or the length
           61 of \fIC\fRhar, \fIS\fRhort, \fII\fRnteger or \fIL\fRong.
           62 The default is octal with 4 bytes.
           63 .It Fl v
           64 Always set.
           65 Write all input data, including duplicate lines.
           66 .It Fl x
           67 Equivalent to
           68 .Fl t x2 .
           69 .El
           70 .Sh STANDARDS
           71 POSIX.1-2013.
           72 Except that the
           73 .Op Fl v
           74 flag is always enabled and the 'd' parameter for the
           75 .Op Fl t
           76 flag is interpreted as 'u'.
           77 .Pp
           78 The
           79 .Op Ee
           80 flags are an extension to that specification.