Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 22:19:50 -0400
From:      "Brian T. Schellenberger" <bts@babbleon.org>
To:        "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz>, "Jon Reynolds" <jonr@destar.net>, "'questions@FreeBSD. ORG'" <questions@FreeBSD.ORG>
Subject:   Re: diff patch
Message-ID:  <200207232219.50475.bts@babbleon.org>
In-Reply-To: <01d401c232a0$eba65d60$51ec910c@fbccarthage.com>
References:  <IMEDIGOECABKBHJDKLNOGEHBCCAA.jonr@destar.net> <01d401c232a0$eba65d60$51ec910c@fbccarthage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 23 July 2002 07:30 pm, Kevin Kinsey, DaleCo, S.P. wrote:
| patch diff.txt > orig.file

Please don't top-post on this list.

Also, that's not the right patch syntax.  It's

patch < diff-file

(the patch should have the source file to which it applies already embedded in 
the patch)

If the file name isn't embedded, then you can do it as

patch orig.file diff-file

but never redirect *out* of patch.


-- 
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

http://www.eff.org                      http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207232219.50475.bts>