diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-03-05 17:51:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-03-05 17:51:15 +0100 |
commit | 4dcdf299100781766d09829b9b80d7fb1ad48f37 (patch) | |
tree | 6b631a413fbc7cc32d90fce0a2357363319506d4 /runtime | |
parent | 4f36dc3bf7118a3fa5ccdae1a37963860dc71e6c (diff) |
updated for version 7.4.652v7.4.652
Problem: Xxd lacks a few features.
Solution: Use 8 characters for the file position. Add the -e and -o
arguments. (Vadim Vygonets)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/xxd.1 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/runtime/doc/xxd.1 b/runtime/doc/xxd.1 index e8f7358591..5a49e057a2 100644 --- a/runtime/doc/xxd.1 +++ b/runtime/doc/xxd.1 @@ -76,6 +76,16 @@ Change the character encoding in the righthand column from ASCII to EBCDIC. This does not change the hexadecimal representation. The option is meaningless in combinations with \-r, \-p or \-i. .TP +.IR \-e +Switch to little-endian hexdump. +This option treats byte groups as words in little-endian byte order. +The default grouping of 4 bytes may be changed using +.RI "" \-g . +This option only applies to hexdump, leaving the ASCII (or EBCDIC) +representation unchanged. +The command line switches +\-r, \-p, \-i do not work with this mode. +.TP .IR "\-g bytes " | " \-groupsize bytes" separate the output of every .RI < bytes > @@ -84,7 +94,7 @@ Specify .I \-g 0 to suppress grouping. .RI < Bytes "> defaults to " 2 -in normal mode and \fI1\fP in bits mode. +in normal mode, \fI4\fP in little-endian mode and \fI1\fP in bits mode. Grouping does not apply to postscript or include style. .TP .IR \-h " | " \-help @@ -99,6 +109,11 @@ stop after writing .RI < len > octets. .TP +.I \-o offset +add +.RI < offset > +to the displayed file position. +.TP .IR \-p " | " \-ps " | " \-postscript " | " \-plain output in postscript continuous hexdump style. Also known as plain hexdump style. |