Article 1257 of comp.binaries.ibm.pc: Path: umriscc!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!sixhub!crdgw1.crd.ge.com!ibmbin-request From: ibmbin-request@crdgw1.crd.ge.com Newsgroups: comp.binaries.ibm.pc Subject: v08i095: patch12, apply patches to files (part 01/05) Summary: Uses diff output to change text files Message-ID: <1994@sixhub.UUCP> Date: 1 Oct 90 08:08:42 GMT Sender: davidsen@sixhub.UUCP Followup-To: comp.binaries.ibm.pc.d Lines: 733 Approved: davidsen@sixhub.UUCP X-Submissions-to: ibmbin@crdgw1.crd.ge.com X-Questions-to: ibmbin-request@crdgw1.crd.ge.com Checksum: 1642503317 (Verify with "brik -cv") Posting-number: Volume 08, Issue 095 Submitted-by: ward@cs.wisc.edu Archive-name: patch12/part01 The is the "patch" program posted to MS-DOS, and the source in a somewhat unusual format. The source for the original program is included, plus the diference files for the DOS version. To create the DOS source you take the original and use the executable to apply the patches. Okay, it proves the concept. The submitter says; ------------------ (patch is a program to automate text file updates - the update info usually being generated by diff) I was looking around for a current version of Larry Wall's patch program for MS-DOS when I found the source for patchlevel 12 on labrea.stanford.edu. I modified the source to compile under Turbo C 2.0 and run under MS-DOS version 2. I then posted the resulting source and binary on comp.os.msdos.apps and recieved several responses for fixing bugs. The executable I have seems to work (though I have not tested it thouroughly). It is a bit slow as I have stack checking code enabled. This set of messages contains a uuencoded zoo archive. In order to upack the archive you must cut the uuencoded text from the messages and paste them together in a file in the proper order, uudecode the file, and then unpack the zoo archive. In order to generate the version of the source code that I used to make the executable binary you will need to unpack the archive, apply all the patches in the proper order (via "patch