On 11/11/13 21:12, Vadim Vygonets wrote:
Hello vimers,

I needed a couple of features that no hexdump utility had, so I
patched xxd.  The added features are:

* -e little endian
* -o add offset to the displayed address
* change address width to 8 digits

You can view the patches here:

https://github.com/unixdj/xxd/commits/for-vim

If you're interested, I can prepare them in the prefered format
(hg?).

Best,
Vadim.

The preferred format is context diff (with unified diff a close second) and such that it can be applied by starting at the top of the Vim source tree. A typical "hg diff" patch in git format would compare, for instance, a/src/xxd/xxd.c with b/src/xxd/xxd.c and similarly for xxd.1

See also ":help develop.txt".

Note that submitting a patch to this mailing list will bring it onto the Vim community's radar; there's of course no guarantee that it will be accepted, especially since in the case of xxd, that program is (IIUC) © Juergen Weigert <[email protected]> "with small changes by Bram Moolenaar", so he (Juergen) should probably be CC-ed on your post. I'm not sure of the details though, because when I invoke the executable I get version 1.10 "27oct98 by Juergen Weigert" but the manpage I have access to (and which mentions Bram) is the one for version 1.7 (dated "August 1996"). After looking at runtime/doc/xxd.man in the Vim source tree, it seems that "man 1 xxd" gives me the manpage which came with Vim and that the version number in the man page was left at 1.7 (an oversight, Bram?)

Best regards,
Tony.
--
<rcw> liiwi: printk("CPU0 on fire\n");

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui