Mail Archives: opendos/1997/11/12/07:04:45
On Tue, 11 Nov 1997, Jude Dashiell wrote:
> patch c:\commo\commo1.dif <cr>
I don't think you can invoke `patch' like this. You need to say
either this:
patch < c:\commo\commo1.dif
or this:
patch -i c:\commo\commo1.dif
> The djgpp patch command appeared to get "Lost In Space" and so I deleted
> the .dif files already made and tried that reversed command shown
> above.
The correct way of using `diff' is "diff -c old new", i.e., first the
old version of the file, then the new version.
> One suggestion for the diff documentation on its revision would be to
> include the commands that did each one of the diff operations and
> produced the dif files in the examples.
> That way users could see real live syntax in action along with its
> associated output.
Did you read the documentation for `diff' in its entirety? I think it
does include what you need. From the DOS prompt type:
info diff comparison
and read there. There are several sections there which describe
different output formats and how different options affect the output,
including two example files and several outputs produced for certain
options. Seems pretty much clear and comprehensive to me.
- Raw text -