Consistent example for gendiff (#16669).
CVS patchset: 4120 CVS date: 2000/08/24 15:56:51
This commit is contained in:
parent
f463e1253d
commit
c12ee61e0e
|
@ -20,14 +20,15 @@ unmodified directory copy. Instead, only the individual files that
|
||||||
are modified need to be saved.
|
are modified need to be saved.
|
||||||
.PP
|
.PP
|
||||||
Before editing a file, copy the file, appending the extension you have chosen
|
Before editing a file, copy the file, appending the extension you have chosen
|
||||||
to the filename. I.e. if you were going to edit somefile.cpp, copy it to
|
to the filename. I.e. if you were going to edit somefile.cpp and have chosen
|
||||||
somefile.cpp.save before editing it. Then edit the first copy (somefile.cpp).
|
the extension "fix", copy it to somefile.cpp.fix before editing it.
|
||||||
|
Then edit the first copy (somefile.cpp).
|
||||||
.PP
|
.PP
|
||||||
After editing all the files you need to edit in this fashion, enter the
|
After editing all the files you need to edit in this fashion, enter the
|
||||||
directory one level above where your source code resides, and then type
|
directory one level above where your source code resides, and then type
|
||||||
.SP
|
.SP
|
||||||
.NF
|
.NF
|
||||||
$ gendiff somedirectory .orig > mydiff-orig.patch
|
$ gendiff somedirectory .fix > mydiff-fix.patch
|
||||||
.FI
|
.FI
|
||||||
.PP
|
.PP
|
||||||
You should redirect the output to a file (as illustrated) unless you want to
|
You should redirect the output to a file (as illustrated) unless you want to
|
||||||
|
|
Loading…
Reference in New Issue