> GNU PATCH, Tools, utility for applying changes to source files  0 29-DEC-2000	Craig A. Berry		<craigberry@mac.com>0 		Charles Lane		<lane@DUPHY4.Physics.Drexel.Edu>) 		Martin Vorlaender 	<mv@PDV-SYSTEME.de>    L This is in OpenVMS port of GNU patch 2.5.4.  Patch is a utility for updatingL source code (or any text files) with sets of changes known as "diffs"; it isG similar in principle to the SUMSLP editor on VMS.  Patch was originally J written by Larry Wall before he created Perl, and it has been instrumentalF in nearly every open-source software effort of recent years, includingJ Linux.  The diffs are created by the GNU diff program available as part ofB the diffutils package.  See the file [.SRC.VMS]GPATCH.HLP for moreK information on how to use GNU patch; that file is suitable for insertion in   a standard OpenVMS help library.  A There are no guarantees of any kind about the performance of this G software.  Only basic  testing has been performed, but it seems to work E fine in a number of fairly complicated cases.  The VMS changes may be C distributed under the same terms as the GNU General Public License. E We'd be happy to hear about things that need fixing but can't promise & we'll be able to do anything about it.     INSTALLATION  I Object libraries for both OpenVMS VAX and OpenVMS Alpha are included with I this distribution and were created under OpenVMS 6.2, so they should link L properly under that and later versions of OpenVMS.  To link, run the command4 procedure LINK.COM in the main directory as follows:       $ @LINK   B Copy the resulting file GPATCH.EXE to a suitable location, set theD protection on it so whoever needs to can run it, and create a symbolD that can be used as a foreign command.  The commands to do this look something like:   *     $ COPY GPATCH.EXE DRA0:[GNU]GPATCH.EXEC     $ SET PROTECTION=(S:RWED,O:RWED,G:RE,W:RE) DRA0:[GNU]GPATCH.EXE N     $ GPATCH :== $DRA0:[GNU]GPATCH.EXE  ! put this in LOGIN.COM or SYLOGIN.COM   BUILDING FROM SOURCE  G If you have a C compiler, the included descrip.mms in [.SRC.VMS] can be A made with MMS or the freeware MMK. It's doubtful the package will B compile with DEC C before 5.2 or VAX C, nor is it likely to run onA OpenVMS versions prior to 6.2.   The rationale behind some of the H VMS-specific code may be found in comments in [.SRC.VMS]config.h_vms and [.SRC.VMS]vmsutil.c.   RUNNING   E For a quick start, you can run the program using the --help option to D get a brief usage summary.  For more detailed documentation, see theF file [.SRC.VMS]GNUPATCH.HLP.  This file is suitable for insertion into an OpenVMS help library.   VMS-SPECIFIC USAGE NOTES  =  o I/O redirection is built into the program. The redirection     symbols recognized are         <    redirect SYS$INPUT      >    redirect SYS$OUTPUT *      >>   redirect SYS$OUTPUT, append mode      2>   redirect SYS$ERROR)      2>>  redirect SYS$ERROR, append mode   H    When redirecting SYS$ERROR, the special filename '&1' is recognized; (    it redirects SYS$ERROR to SYS$OUTPUT.