[3ae31e9] | 1 |
|
---|
| 2 | .TH XOD 1
|
---|
| 3 | .\" 8/3/86
|
---|
| 4 | .ad
|
---|
| 5 | .fi
|
---|
| 6 | .UC 4
|
---|
| 7 | .SH NAME
|
---|
| 8 | xod \- hex/octal/decimal dump
|
---|
| 9 | .SH SYNOPSIS
|
---|
| 10 | .B xod
|
---|
| 11 | [
|
---|
| 12 | .B \-xod
|
---|
| 13 | ] [\fIfile ...\fR]
|
---|
| 14 | .SH DESCRIPTION
|
---|
| 15 | .I Xod
|
---|
| 16 | dumps the specified
|
---|
| 17 | .I file(s)
|
---|
| 18 | in the base selected by the first argument.
|
---|
| 19 | If the first argument is missing,
|
---|
| 20 | .B \-x
|
---|
| 21 | is default.
|
---|
| 22 | .PP
|
---|
| 23 | The
|
---|
| 24 | .I file
|
---|
| 25 | argument specifies which file is to be dumped.
|
---|
| 26 | If no file argument is specified, the standard input is used.
|
---|
| 27 | .PP
|
---|
| 28 | Each output line consists of:
|
---|
| 29 | .sp 1
|
---|
| 30 | .ce
|
---|
| 31 | offset: ... numeric dump ... | ASCII dump |
|
---|
| 32 | .sp 1
|
---|
| 33 | where the offset and numeric dump portions are in the specified base.
|
---|
| 34 | Each output line dumps the same number of bytes as specified by the
|
---|
| 35 | base.
|
---|
| 36 | Non-printable characters are replaced with \`.\' in the ASCII portion
|
---|
| 37 | of the dump.
|
---|
| 38 | .PP
|
---|
| 39 | Where sequential records are duplicates of the preceeding record, all
|
---|
| 40 | such records are replaced by a single asterisk.
|
---|
| 41 | .PP
|
---|
| 42 | Dumping continues until end-of-file.
|
---|
| 43 | .SH OPTIONS
|
---|
| 44 | The meanings of the base argument characters
|
---|
| 45 | are:
|
---|
| 46 | .TP 3
|
---|
| 47 | .B d
|
---|
| 48 | Interpret bytes (8 bit words) in decimal.
|
---|
| 49 | .TP 3
|
---|
| 50 | .B o
|
---|
| 51 | Interpret bytes (8 bit words) in octal.
|
---|
| 52 | .TP 3
|
---|
| 53 | .B x
|
---|
| 54 | Interpret bytes (8 bit words) in hex.
|
---|
| 55 | .PP
|
---|
| 56 | If more than one option is specified, the last one is used.
|
---|
| 57 | .SH BUGS
|
---|
| 58 | There is no provision for beginning at a specified offset into the
|
---|
| 59 | input file.
|
---|
| 60 | .PP
|
---|
| 61 | There is no provision for merging multibyte words into single values
|
---|
| 62 | in the numeric dump portion.
|
---|
| 63 | .SH SEE ALSO
|
---|
| 64 | adb(1), od(1).
|
---|
| 65 | .SH AUTHOR
|
---|
| 66 | Richard Klappal
|
---|
| 67 | .br
|
---|
| 68 | uucp: !ihnp4!chinet!uklpl!rlk
|
---|
| 69 | .br
|
---|
| 70 | !ihnp4!ihu1h!rlk (IH 4H-326 x4770)
|
---|
| 71 | .br
|
---|
| 72 | CompuServe: 74106,1021
|
---|
| 73 | .br
|
---|
| 74 | MCIMail: rklappal
|
---|
| 75 | |
---|