[H-GEN] using patch
Greg Black
gjb at gbch.net
Fri Mar 14 19:29:48 EST 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
barry day wrote:
> What's the go with using patch to apply diff files?
Usually, it's just: patch < /path/to/diff.file
Sometimes, you need options to patch -- see the manual for
those.
> I've yet to get one to work. Is it me or is creating
> diff files that will work with patch a black art?
You must create the diffs with "diff -c" or "diff -u".
Greg
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list