home *** CD-ROM | disk | FTP | other *** search
- The two patches included in this package are in unidiff format, but they are
- very easy to apply with the included utilities.
-
- The easiest way to get going is to give the included Makefile the once-over
- and then type:
-
- make
-
- and you'll get a runnable version of unify which is used to translate the
- unidiffs into their context diff counterparts (patch.uni into patch.diff,
- and gnudiff.uni into gnudiff.diff). It's all done automatically for you.
-
- The other alternative is to:
-
- make unipatch
-
- and patch the source to patch with:
-
- unipatch <patch.uni | patch
-
- and then apply the gnudiff.uni patch using the same method or the new version
- of patch.
-
- The file patch.diff expects to find patchlevel 12 of patch, changing the
- pachlevel to 12u. The only added option is -u, which forces a patch to
- be interpreted as a unidiff.
-
- The file gnudiff.diff expects to find version 1.14 of gnudiff, changing the
- version to 1.14u. The patch adds the following options:
-
- -u generates a unidiff.
- -P turns on patch-output mode:
- o Outputs an "Index: filename" line instead of the ***/--- header
- lines (even for normal and context diffs). The filename chosen
- is the shorter of the two we're diff'ing, and the characters "./"
- are skipped if present at the start of the name.
- o Doesn't print "Only in <dir>", "Common subdirectories", or
- "diff <-opts> <file1> <file2>" messages.
- o Turns on the '=' prefix in a unidiff instead of the (more
- readable) ' ' for lines that are in common.
- -U same as -uP.
-
- +unidiff equivilent to 'u'
- +patch equivilent to 'P'
-
- Switches for the unify program are very similar to those for diff, and are
- specified in the man page.
-
- \ /| / /|\/ /| /(_) Wayne Davison
- (_)/ |/ /\|/ / |/ \ davison@dri.com
- (W A Y N e) ...!uunet!drivax!davison
-