Date: Thu, 20 May 1999 10:11:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jeff Williams cc: djgpp AT delorie DOT com Subject: Re: using patch In-Reply-To: <199905191712.MAA16341@darwin.sfbr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 19 May 1999, Jeff Williams wrote: > I have a question about using patch v2.5 (under bash 1.14.7 with djgpp > 2.03 and MS-DOS 5.0). DJGPP v2.03 wasn't yet released. I believe you meant v2.02. > Suppose I want to update a single file. My experience suggests that > patch cannot extract the relevant patch(es) from the larger patchfile > and apply them; instead I must copy the relevant patches to another > patchfile, specific to the program to be patched, and then apply that > (program-specific) patchfile. > > Is this correct? Basically, yes. Of course, if you use Emacs, you can mark just the part of the large patchfile and then launch Patch with shell-command-on-region command (press `Alt-|' ;-).