[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binary diff and X color resolution
On Saturday 28 July 2001 18:31, Ira Abramov wrote:
> Hey gang, two unrelated questions squished to one, in the best of
the
> Zadka tradition.
>
> a. how does one create a diff and patch of a binary data file? GNU
diff
> only supports text.
Just off the top of my head - use mimencode (1) to encode the old
binary file in base64. Do the same for the new binary file. Run diff.
The patching operation will require three steps
1. mimencode the binary file
2. apply patch
3. mimencode -u the patched file.
Herouth
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il