Schily's USER COMMANDS                                   HDUMP(1)


NAME

     hdump, od - displays (dumps) binary contents of a file


SYNOPSIS

     hdump [options] [file [starting_address[.][b|B] [count]]]

     hdump [options] [file...]

     od [options] [file [starting_address[.][b|B]]]

     od [options] [file...]

     xpg4/bin/od [options] [file [starting_address[.][b|B]]]

     xpg4/bin/od [options] [file...]


DESCRIPTION

     Hdump displays the contents of a file in 16-bit words unless
     otherwise  specified  (see options below). It dumps the data
     in  hexadecimal  unless  otherwise  specified  (see  options
     below).

     Hdump assumes the starting address  and  the  count  are  in
     decimal  unless  there is a leading 0--interpreted as octal,
     or a leading 0x--interpreted as hexadecimal (as in  C).   If
     the  starting  address  is  followed by a 'b', the number is
     multiplied by 512, if the starting address is followed by  a
     'B', the number is multiplied by 512.

     The output radix of the label is hexadecimal by default  and
     may  be  modified  by the radix of the starting_address.  If
     the starting_address is specified in hexadecimal, the  label
     will    be    displayed   in   hexadecimal   too,   if   the
     starting_address is specified in octal, the  label  will  be
     displayed  in  octal.   A decimal radix of the label will be
     displayed if the starting_address is followed by a dot.


OPTIONS

     -A radix  Select the radix  used  for  address  labels.  The
               folowing values are supported:

               d    Use a decimal radix for address labels.

               o    Use an octal radix for address labels.

               n    Do not print address labels.

               x    Use a hexadecimal radix for address labels.

Joerg Schilling       Last change: 15/06/08                     1


Schily's USER COMMANDS                                   HDUMP(1)

     -a        Display content also in characters

     -b        Display content in bytes

     -c        Display content in quoted characters

     -d        Display content in decimal

     -f        Display content longs as floats

     -F        Display content double longs as doubles

     -j skip   Seek or skip skip bytes before starting  to  dump.
               The same syntax as with sdd(1) is supported.

     -l        Display content as longs

     -N count  Stop after dumping count bytes.  The  same  syntax
               as with sdd(1) is supported.

     -o        Display content in octal

     -t format

               a    Print bytes as 7 bit named ASCII characters.

               c    Print bytes as quoted characters.

               d    Print signed decimal numbers.

               f    Print floating point numbers

               o    Print octal numbers.

               u    Print unsigned decimal numbers.

               x    Print hexadecimal numbers.

               The type specification characters d, f, o, u,  and
               x  can  be followed by an optional size specifier.
               For the types d, o, u, and x, this may be one  of:
               1,  2, 4, 8, C, S, I, and L.  For the type f, this
               may be one of:  F, D, and L.

               A -t option may have multiple type  arguments  and
               there  may  be  multiple -t options on the command
               line.

     -u        Display content as unsigned numbers.

     -v        Show all data even if it is identical.

Joerg Schilling       Last change: 15/06/08                     2


Schily's USER COMMANDS                                   HDUMP(1)

     -help     Prints a short summary of the  hdump  options  and
               exists.

     -version  Prints the hdump version number string and exists.

     Address  label  radix  depends  on  starting  address  radix
     (decimal  if ends with .)  'b' after starting address multi-
     plies with 512 'B' with 1024


NOTES

     none

Joerg Schilling       Last change: 15/06/08                     3


Man(1) output converted with man2html


FhG Schily's Home VED powered