Bug#567041: [Patch] xxd: Fix lossy reverse conversion
James Vega
jamessan at debian.org
Mon Feb 8 20:13:50 UTC 2010
On Mon, Feb 8, 2010 at 3:05 PM, Bram Moolenaar <Bram at moolenaar.net> wrote:
>
> James -
>
>> As described below, xxd doesn't correctly convert free-form hex dumps to
>> their original form. Attached patch, from Jean-Baptiste Wons, fixes the
>> issue.
>
> That input doesn't look like postscript form. This is a line of
> postscript form:
>
> 74655265616465725f49004d5475746f7269616c5f5f43506572736f6e5f
>
> Looks like the file is not in a supported format. If you would really
> like to add this format, the dump must also be added.
According to xxd's man page:
Use the combination -r -p to read plain hexadecimal dumps without line
number information and without a particular column layout. Additional
Whitespace and line-breaks are allowed anywhere.
The last sentence, in particular, seems to indicate that xxd should be
able to handle the format of the file, even if it isn't postscript
format.
--
James
GPG Key: 1024D/61326D40 James Vega <jamessan at debian.org>
More information about the pkg-vim-maintainers
mailing list