Hi!

> This is something that's been bugging me for ages.  How the heck do I
> apply a diff generated patch?  Or diff generated anything.  I have this
> steganography program that stegs jpegs, but do not know what to do with it
> because the sources have been diffed.  What do I do?
> 

Sorry, but I couldn't understand much of the jargon above! (well, not much
.. but atleast that steganography part .... ;-)

The patch is applied using the "patch" program itself. "man patch" gives
you the way to use it .. but in most of the cases, "patch -p0 <patchfile"
works.

The patch file is created using "diff -Naur <old> <new>" (taken directly
from "man patch"!). The output is on stdout, so > it to a file (any name),
say new.patch

Apply it using "patch -p0 < new.patch" in the same directory relative to
the new and old files from whom the patch file was created.

Does that answer part of your question?

regards,
jaju

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to