[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Binary patch format



On Sun, 19 Sep 2010 at 15:03:43 +0200, Andre Majorel wrote:
> I may just parse cmp -l's output format. It kind of sucks that
> it's decimal-octal but I could support 0x as an extension.

The format used by xxd(1), part of vim, is quite nice? It's all done in hex,
like so:

       0000018: 224d 616e 7561 6c20 7061 6765  "Manual page

and can apply patches in that format to binary files.

    Simon


Reply to: