Mail Archives: djgpp/1997/11/13/05:48:19
Okay I'm going to make this as clear as possible the first time through.
The files in question were:
c:\commo\commo.set which contains changes I wanted carried over
to c:\commo\beta\commo.set.
One line in particular in c:\commo\commo.set I especially needed carried
over was:
* sfi=yes ...
That line should have replaced:
* sfi=no ...
the default setting in c:\commo\beta\commo.set.
I run the commands:
diff -u c:\commo\commo.set c:\commo\beta\commo.set >c:\commo\commo3.dif
<cr>
patch -i commo3.dif <cr>
The result was that
* sfi=no ...
was then found in both files.
Perhaps patch <commo3.dif <cr>
would have worked differently.
The djgpp environment variables were all set before I used diff or patch.
I wrote a batch file to handle that detail for me.
Fortunately for me, I had files in c:\commo\safe before I
tried any of this experimentation which I used to at least restore
previous
file states.
Jude <dashiell AT clark DOT net>
- Raw text -