blob: 2c6d5ad9a25b21ae74181c0ed6e99b7cad77ec61 [file] [log] [blame]
RestorerZ81b62dd2024-08-15 21:39:33 +02001.TH XXD 1 "May 2024" "Manual page for xxd"
Bram Moolenaar071d4272004-06-13 20:20:40 +00002.\"
3.\" 21st May 1996
4.\" Man page author:
5.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
6.\" Changes by Bram Moolenaar <Bram@vim.org>
7.SH NAME
8.I xxd
Matthias Braun02551c92023-08-13 19:20:35 +02009\- make a hex dump or do the reverse.
Bram Moolenaar071d4272004-06-13 20:20:40 +000010.SH SYNOPSIS
11.B xxd
12\-h[elp]
13.br
14.B xxd
15[options] [infile [outfile]]
16.br
17.B xxd
18\-r[evert] [options] [infile [outfile]]
19.SH DESCRIPTION
20.I xxd
21creates a hex dump of a given file or standard input.
22It can also convert a hex dump back to its original binary form.
23Like
Bram Moolenaar4317d9b2005-03-18 20:25:31 +000024.BR uuencode (1)
Bram Moolenaar071d4272004-06-13 20:20:40 +000025and
Bram Moolenaar4317d9b2005-03-18 20:25:31 +000026.BR uudecode (1)
Bram Moolenaar071d4272004-06-13 20:20:40 +000027it allows the transmission of binary data in a `mail-safe' ASCII representation,
28but has the advantage of decoding to standard output.
29Moreover, it can be used to perform binary file patching.
30.SH OPTIONS
31If no
32.I infile
33is given, standard input is read.
34If
35.I infile
36is specified as a
37.RB \` \- '
38character, then input is taken from standard input.
39If no
40.I outfile
41is given (or a
42.RB \` \- '
43character is in its place), results are sent to standard output.
44.PP
45Note that a "lazy" parser is used which does not check for more than the first
46option letter, unless the option is followed by a parameter.
47Spaces between a single option letter and its parameter are optional.
48Parameters to options can be specified in decimal, hexadecimal or octal
49notation.
50Thus
51.BR \-c8 ,
52.BR "\-c 8" ,
53.B \-c 010
54and
55.B \-cols 8
56are all equivalent.
57.PP
58.TP
59.IR \-a " | " \-autoskip
Matthias Braun02551c92023-08-13 19:20:35 +020060Toggle autoskip: A single '*' replaces NUL-lines. Default off.
Bram Moolenaar071d4272004-06-13 20:20:40 +000061.TP
62.IR \-b " | " \-bits
Matthias Braun02551c92023-08-13 19:20:35 +020063Switch to bits (binary digits) dump, rather than hex dump.
Bram Moolenaar071d4272004-06-13 20:20:40 +000064This option writes octets as eight digits "1"s and "0"s instead of a normal
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000065hexadecimal dump. Each line is preceded by a line number in hexadecimal and
Andre Chang15022722024-09-15 20:03:05 +020066followed by an ASCII (or EBCDIC) representation. The command line switch
67\-p does not work with this mode. Can be combined with \-i.
Bram Moolenaar071d4272004-06-13 20:20:40 +000068.TP
69.IR "\-c cols " | " \-cols cols"
Bram Moolenaar79cf7c02018-04-03 14:21:16 +020070Format
Bram Moolenaar071d4272004-06-13 20:20:40 +000071.RI < cols >
72octets per line. Default 16 (\-i: 12, \-ps: 30, \-b: 6). Max 256.
Matthias Braun02551c92023-08-13 19:20:35 +020073No maximum for \-ps. With \-ps, 0 results in one long line of output.
Bram Moolenaar071d4272004-06-13 20:20:40 +000074.TP
Bram Moolenaar79cf7c02018-04-03 14:21:16 +020075.IR \-C " | " \-capitalize
76Capitalize variable names in C include file style, when using \-i.
77.TP
Lennard Hofmann67797192024-05-10 14:17:26 +020078.I \-d
79show offset in decimal instead of hex.
80.TP
Bram Moolenaar071d4272004-06-13 20:20:40 +000081.IR \-E " | " \-EBCDIC
82Change the character encoding in the righthand column from ASCII to EBCDIC.
83This does not change the hexadecimal representation. The option is
84meaningless in combinations with \-r, \-p or \-i.
85.TP
Bram Moolenaar4dcdf292015-03-05 17:51:15 +010086.IR \-e
Matthias Braun02551c92023-08-13 19:20:35 +020087Switch to little-endian hex dump.
Bram Moolenaar4dcdf292015-03-05 17:51:15 +010088This option treats byte groups as words in little-endian byte order.
89The default grouping of 4 bytes may be changed using
90.RI "" \-g .
Matthias Braun02551c92023-08-13 19:20:35 +020091This option only applies to the hex dump, leaving the ASCII (or EBCDIC)
Bram Moolenaar4dcdf292015-03-05 17:51:15 +010092representation unchanged.
93The command line switches
94\-r, \-p, \-i do not work with this mode.
95.TP
Bram Moolenaar071d4272004-06-13 20:20:40 +000096.IR "\-g bytes " | " \-groupsize bytes"
Bram Moolenaar79cf7c02018-04-03 14:21:16 +020097Separate the output of every
Bram Moolenaar071d4272004-06-13 20:20:40 +000098.RI < bytes >
Matthias Braun02551c92023-08-13 19:20:35 +020099bytes (two hex characters or eight bit digits each) by a whitespace.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000100Specify
101.I \-g 0
102to suppress grouping.
103.RI < Bytes "> defaults to " 2
Bram Moolenaar4dcdf292015-03-05 17:51:15 +0100104in normal mode, \fI4\fP in little-endian mode and \fI1\fP in bits mode.
Matthias Braun02551c92023-08-13 19:20:35 +0200105Grouping does not apply to PostScript or include style.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000106.TP
107.IR \-h " | " \-help
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200108Print a summary of available commands and exit. No hex dumping is performed.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000109.TP
110.IR \-i " | " \-include
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200111Output in C include file style. A complete static array definition is written
Andre Chang15022722024-09-15 20:03:05 +0200112(named after the input file), unless xxd reads from stdin. Can be combined
113with \-b.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000114.TP
115.IR "\-l len " | " \-len len"
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200116Stop after writing
Bram Moolenaar071d4272004-06-13 20:20:40 +0000117.RI < len >
118octets.
119.TP
David Gow83e11802022-06-29 20:24:49 +0100120.I "\-n name " | " \-name name"
121Override the variable name output when \-i is used. The array is named
122\fIname\fP and the length is named \fIname\fP_len.
123.TP
Bram Moolenaar4dcdf292015-03-05 17:51:15 +0100124.I \-o offset
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200125Add
Bram Moolenaar4dcdf292015-03-05 17:51:15 +0100126.RI < offset >
127to the displayed file position.
128.TP
Bram Moolenaar071d4272004-06-13 20:20:40 +0000129.IR \-p " | " \-ps " | " \-postscript " | " \-plain
Matthias Braun02551c92023-08-13 19:20:35 +0200130Output in PostScript continuous hex dump style. Also known as plain hex dump
Bram Moolenaar071d4272004-06-13 20:20:40 +0000131style.
132.TP
133.IR \-r " | " \-revert
Matthias Braun02551c92023-08-13 19:20:35 +0200134Reverse operation: convert (or patch) hex dump into binary.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000135If not writing to stdout, xxd writes into its output file without truncating
136it. Use the combination
137.I \-r \-p
138to read plain hexadecimal dumps without line number information and without a
Matthias Braun02551c92023-08-13 19:20:35 +0200139particular column layout. Additional whitespace and line breaks are allowed
tristhaus85f45212023-10-06 19:51:13 +0200140anywhere. Use the combination
141.I \-r \-b
142to read a bits dump instead of a hex dump.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000143.TP
K.Takataf6fc2552023-09-01 18:41:04 +0200144.IR \-R " " when
Lennard Hofmann67797192024-05-10 14:17:26 +0200145In the output the hex-value and the value are both colored with the same color
Christian Brabandtb74ebfc2023-10-03 16:55:18 +0200146depending on the hex-value. Mostly helping to differentiate printable and
147non-printable characters.
K.Takataf6fc2552023-09-01 18:41:04 +0200148.I \fIwhen\fP
Aapo Rantalainene2528ae2023-08-31 17:58:13 +0200149is
Lennard Hofmann67797192024-05-10 14:17:26 +0200150.BR never ", " always ", or " auto " (default: auto).
Christian Brabandtb74ebfc2023-10-03 16:55:18 +0200151When the
152.BR $NO_COLOR
153environment variable is set, colorization will be disabled.
Aapo Rantalainene2528ae2023-08-31 17:58:13 +0200154.TP
Bram Moolenaar071d4272004-06-13 20:20:40 +0000155.I \-seek offset
156When used after
Bram Moolenaar4317d9b2005-03-18 20:25:31 +0000157.IR \-r :
158revert with
Bram Moolenaar071d4272004-06-13 20:20:40 +0000159.RI < offset >
Matthias Braun02551c92023-08-13 19:20:35 +0200160added to file positions found in hex dump.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000161.TP
Bram Moolenaar4317d9b2005-03-18 20:25:31 +0000162.I \-s [+][\-]seek
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200163Start at
Bram Moolenaar071d4272004-06-13 20:20:40 +0000164.RI < seek >
165bytes abs. (or rel.) infile offset.
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000166\fI+ \fRindicates that the seek is relative to the current stdin file position
Bram Moolenaar071d4272004-06-13 20:20:40 +0000167(meaningless when not reading from stdin). \fI\- \fRindicates that the seek
168should be that many characters from the end of the input (or if combined with
Bram Moolenaar4317d9b2005-03-18 20:25:31 +0000169\fI+\fR: before the current stdin file position).
Bram Moolenaar071d4272004-06-13 20:20:40 +0000170Without \-s option, xxd starts at the current file position.
171.TP
172.I \-u
Matthias Braun02551c92023-08-13 19:20:35 +0200173Use upper-case hex letters. Default is lower-case.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000174.TP
175.IR \-v " | " \-version
Bram Moolenaar79cf7c02018-04-03 14:21:16 +0200176Show version string.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000177.SH CAVEATS
178.PP
179.I xxd \-r
Matthias Braun02551c92023-08-13 19:20:35 +0200180has some built-in magic while evaluating line number information.
181If the output file is seekable, then the line numbers at the start of each
182hex dump line may be out of order, lines may be missing, or overlapping. In
Bram Moolenaar071d4272004-06-13 20:20:40 +0000183these cases xxd will lseek(2) to the next position. If the output file is not
184seekable, only gaps are allowed, which will be filled by null-bytes.
185.PP
186.I xxd \-r
187never generates parse errors. Garbage is silently skipped.
188.PP
Matthias Braun02551c92023-08-13 19:20:35 +0200189When editing hex dumps, please note that
Bram Moolenaar071d4272004-06-13 20:20:40 +0000190.I xxd \-r
191skips everything on the input line after reading enough columns of hexadecimal
Matthias Braun02551c92023-08-13 19:20:35 +0200192data (see option \-c). This also means that changes to the printable ASCII (or
193EBCDIC) columns are always ignored. Reverting a plain (or PostScript) style
RestorerZ81b62dd2024-08-15 21:39:33 +0200194hex dump with xxd \-r \-p does not depend on the correct number of columns.
195Here, anything that looks like a pair of hex digits is interpreted.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000196.PP
197Note the difference between
198.br
199\fI% xxd \-i file\fR
200.br
201and
202.br
Bram Moolenaar4317d9b2005-03-18 20:25:31 +0000203\fI% xxd \-i < file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000204.PP
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000205.I xxd \-s +seek
Bram Moolenaar071d4272004-06-13 20:20:40 +0000206may be different from
Bram Moolenaar4317d9b2005-03-18 20:25:31 +0000207.IR "xxd \-s seek" ,
208as lseek(2) is used to "rewind" input. A '+'
Bram Moolenaar071d4272004-06-13 20:20:40 +0000209makes a difference if the input source is stdin, and if stdin's file position
210is not at the start of the file by the time xxd is started and given its input.
Matthias Braun02551c92023-08-13 19:20:35 +0200211The following examples may help to clarify (or further confuse!):
Bram Moolenaar071d4272004-06-13 20:20:40 +0000212.PP
213Rewind stdin before reading; needed because the `cat' has already read to the
214end of stdin.
215.br
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000216\fI% sh \-c "cat > plain_copy; xxd \-s 0 > hex_copy" < file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000217.PP
Matthias Braun02551c92023-08-13 19:20:35 +0200218Hex dump from file position 0x480 (=1024+128) onwards.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000219The `+' sign means "relative to the current position", thus the `128' adds to
220the 1k where dd left off.
221.br
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000222\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet" < file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000223.PP
Matthias Braun02551c92023-08-13 19:20:35 +0200224Hex dump from file position 0x100 (=1024\-768) onwards.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000225.br
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000226\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +\-768 > hex_snippet" < file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000227.PP
228However, this is a rare situation and the use of `+' is rarely needed.
RestorerZ81b62dd2024-08-15 21:39:33 +0200229The author prefers to monitor the effect of xxd with strace(1) or truss(1),
230whenever \-s is used.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000231.SH EXAMPLES
232.PP
233.br
234Print everything but the first three lines (hex 0x30 bytes) of
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000235.BR file .
Bram Moolenaar071d4272004-06-13 20:20:40 +0000236.br
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000237\fI% xxd \-s 0x30 file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000238.PP
239.br
240Print 3 lines (hex 0x30 bytes) from the end of
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000241.BR file .
Bram Moolenaar071d4272004-06-13 20:20:40 +0000242.br
Bram Moolenaarc81e5e72007-05-05 18:24:42 +0000243\fI% xxd \-s \-0x30 file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000244.PP
RestorerZ81b62dd2024-08-15 21:39:33 +0200245Note: The results of the examples below are relevant to the xxd.1 man page as of
246May 2024
247.PP
Bram Moolenaar071d4272004-06-13 20:20:40 +0000248.br
Matthias Braun02551c92023-08-13 19:20:35 +0200249Print 120 bytes as a continuous hex dump with 20 octets per line.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000250.br
251\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
252.br
RestorerZ81b62dd2024-08-15 21:39:33 +02002532e544820585844203120224d6179203230323422
Bram Moolenaar071d4272004-06-13 20:20:40 +0000254.br
RestorerZ81b62dd2024-08-15 21:39:33 +020025520224d616e75616c207061676520666f72207878
Bram Moolenaar071d4272004-06-13 20:20:40 +0000256.br
RestorerZ81b62dd2024-08-15 21:39:33 +020025764220a2e5c220a2e5c222032317374204d617920
Bram Moolenaar071d4272004-06-13 20:20:40 +0000258.br
RestorerZ81b62dd2024-08-15 21:39:33 +0200259313939360a2e5c22204d616e2070616765206175
Bram Moolenaar071d4272004-06-13 20:20:40 +0000260.br
RestorerZ81b62dd2024-08-15 21:39:33 +020026174686f723a0a2e5c2220202020546f6e79204e75
Bram Moolenaar071d4272004-06-13 20:20:40 +0000262.br
RestorerZ81b62dd2024-08-15 21:39:33 +020026367656e74203c746f6e79407363746e7567656e2e
Bram Moolenaar071d4272004-06-13 20:20:40 +0000264.br
265
266.br
Matthias Braun02551c92023-08-13 19:20:35 +0200267Hex dump the first 120 bytes of this man page with 12 octets per line.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000268.br
269\fI% xxd \-l 120 \-c 12 xxd.1\fR
270.br
RestorerZ81b62dd2024-08-15 21:39:33 +020027100000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
Bram Moolenaar071d4272004-06-13 20:20:40 +0000272.br
RestorerZ81b62dd2024-08-15 21:39:33 +02002730000000c: 6179 2032 3032 3422 2022 4d61 ay 2024" "Ma
Bram Moolenaar071d4272004-06-13 20:20:40 +0000274.br
RestorerZ81b62dd2024-08-15 21:39:33 +020027500000018: 6e75 616c 2070 6167 6520 666f nual page fo
Bram Moolenaar071d4272004-06-13 20:20:40 +0000276.br
RestorerZ81b62dd2024-08-15 21:39:33 +020027700000024: 7220 7878 6422 0a2e 5c22 0a2e r xxd"..\\"..
Bram Moolenaar071d4272004-06-13 20:20:40 +0000278.br
RestorerZ81b62dd2024-08-15 21:39:33 +020027900000030: 5c22 2032 3173 7420 4d61 7920 \\" 21st May
Bram Moolenaar071d4272004-06-13 20:20:40 +0000280.br
RestorerZ81b62dd2024-08-15 21:39:33 +02002810000003c: 3139 3936 0a2e 5c22 204d 616e 1996..\\" Man
Bram Moolenaar071d4272004-06-13 20:20:40 +0000282.br
RestorerZ81b62dd2024-08-15 21:39:33 +020028300000048: 2070 6167 6520 6175 7468 6f72 page author
Bram Moolenaar071d4272004-06-13 20:20:40 +0000284.br
RestorerZ81b62dd2024-08-15 21:39:33 +020028500000054: 3a0a 2e5c 2220 2020 2054 6f6e :..\\" Ton
Bram Moolenaar071d4272004-06-13 20:20:40 +0000286.br
RestorerZ81b62dd2024-08-15 21:39:33 +020028700000060: 7920 4e75 6765 6e74 203c 746f y Nugent <to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000288.br
RestorerZ81b62dd2024-08-15 21:39:33 +02002890000006c: 6e79 4073 6374 6e75 6765 6e2e ny@sctnugen.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000290.PP
291.br
292Display just the date from the file xxd.1
293.br
RestorerZ81b62dd2024-08-15 21:39:33 +0200294\fI% xxd \-s 0x33 \-l 13 \-c 13 xxd.1\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000295.br
RestorerZ81b62dd2024-08-15 21:39:33 +020029600000033: 3231 7374 204d 6179 2031 3939 36 21st May 1996
Bram Moolenaar071d4272004-06-13 20:20:40 +0000297.PP
298.br
299Copy
300.B input_file
301to
302.B output_file
303and prepend 100 bytes of value 0x00.
304.br
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000305\fI% xxd input_file | xxd \-r \-s 100 > output_file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000306.br
307
308.br
309Patch the date in the file xxd.1
310.br
RestorerZ81b62dd2024-08-15 21:39:33 +0200311\fI% echo "0000034: 3574 68" | xxd \-r \- xxd.1\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000312.br
RestorerZ81b62dd2024-08-15 21:39:33 +0200313\fI% xxd \-s 0x33 \-l 13 \-c 13 xxd.1\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000314.br
RestorerZ8f3f7852024-08-16 21:03:58 +020031500000033: 3235 7468 204d 6179 2031 3939 36 25th May 1996
Bram Moolenaar071d4272004-06-13 20:20:40 +0000316.PP
317.br
318Create a 65537 byte file with all bytes 0x00,
319except for the last one which is 'A' (hex 0x41).
320.br
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000321\fI% echo "010000: 41" | xxd \-r > file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000322.PP
323.br
Matthias Braun02551c92023-08-13 19:20:35 +0200324Hex dump this file with autoskip.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000325.br
326\fI% xxd \-a \-c 12 file\fR
327.br
RestorerZ8f3f7852024-08-16 21:03:58 +020032800000000: 0000 0000 0000 0000 0000 0000 ............
Bram Moolenaar071d4272004-06-13 20:20:40 +0000329.br
330*
331.br
RestorerZ8f3f7852024-08-16 21:03:58 +02003320000fffc: 0000 0000 41 ....A
Bram Moolenaar071d4272004-06-13 20:20:40 +0000333.PP
334Create a 1 byte file containing a single 'A' character.
Matthias Braun02551c92023-08-13 19:20:35 +0200335The number after '\-r \-s' adds to the line numbers found in the file;
Bram Moolenaar071d4272004-06-13 20:20:40 +0000336in effect, the leading bytes are suppressed.
337.br
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000338\fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR
Bram Moolenaar071d4272004-06-13 20:20:40 +0000339.PP
340Use xxd as a filter within an editor such as
341.B vim(1)
Matthias Braun02551c92023-08-13 19:20:35 +0200342to hex dump a region marked between `a' and `z'.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000343.br
344\fI:'a,'z!xxd\fR
345.PP
346Use xxd as a filter within an editor such as
347.B vim(1)
Matthias Braun02551c92023-08-13 19:20:35 +0200348to recover a binary hex dump marked between `a' and `z'.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000349.br
350\fI:'a,'z!xxd \-r\fR
351.PP
352Use xxd as a filter within an editor such as
353.B vim(1)
Matthias Braun02551c92023-08-13 19:20:35 +0200354to recover one line of a hex dump. Move the cursor over the line and type:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000355.br
356\fI!!xxd \-r\fR
357.PP
358Read single characters from a serial line
359.br
360\fI% xxd \-c1 < /dev/term/b &\fR
361.br
362\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
363.br
364\fI% echo \-n foo > /dev/term/b\fR
365.PP
366.SH "RETURN VALUES"
367The following error values are returned:
368.TP
3690
370no errors encountered.
371.TP
372\-1
Matthias Braun02551c92023-08-13 19:20:35 +0200373operation not supported
374\%(\c
375.I \%xxd \-r \-i
Bram Moolenaar071d4272004-06-13 20:20:40 +0000376still impossible).
377.TP
3781
379error while parsing options.
380.TP
3812
382problems with input file.
383.TP
3843
385problems with output file.
386.TP
3874,5
388desired seek position is unreachable.
389.SH "SEE ALSO"
390uuencode(1), uudecode(1), patch(1)
391.br
392.SH WARNINGS
Matthias Braun02551c92023-08-13 19:20:35 +0200393The tool's weirdness matches its creator's brain.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000394Use entirely at your own risk. Copy files. Trace it. Become a wizard.
395.br
396.SH VERSION
RestorerZ81b62dd2024-08-15 21:39:33 +0200397This manual page documents xxd version 1.7 from 2024-05.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000398.SH AUTHOR
399.br
400(c) 1990-1997 by Juergen Weigert
401.br
Bram Moolenaar3991dab2006-03-27 17:01:56 +0000402<jnweiger@informatik.uni\-erlangen.de>
Bram Moolenaar071d4272004-06-13 20:20:40 +0000403.LP
404Distribute freely and credit me,
405.br
406make money and share with me,
407.br
408lose money and don't ask me.
409.PP
410Manual page started by Tony Nugent
411.br
412<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
413.br
414Small changes by Bram Moolenaar.
415Edited by Juergen Weigert.
416.PP