delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/11/12:26:20

Date: Tue, 11 Nov 1997 12:24:54 -0500 (EST)
From: Jude Dashiell <dashiell AT clark DOT net>
To: opendos AT delorie DOT com
cc: djgpp AT delorie DOT com
Subject: diff and opendos 7.02 bug
Message-ID: <Pine.GSO.3.96.971111120415.19154A-100000@clark.net>
MIME-Version: 1.0

I ran diff four times on this system and couldn't run it a fifth time.
The diff comes as part of the djgpp distribution.
I have three older files in c:\commo.
Those are commo.fon commo.mac and commo.set.
I have three files in the c:\commo\beta directory with identical names.
I wanted settings from the files in c:\commo to migrate over to
c:\commo\beta files with identical names.
I tried the following commands.
d:\djgpp\bin\diff -c c:\commo\beta\commo.fon c:\commo\commo.fon
>c:\commo\commo1.dif <cr>
that command produced a dif file.  I don't know if that file will help me
move my existing phone numbers over onto the beta version of the file
once patch is run.
Before that command was executed, the commands:
diff -u c:\commo\commo.fon c:\commo\beta\commo.on >commo1.dif <cr>
diff -u c:\commo\commo.mac c:\commo\beta\commo.mac
>c:\commo\beta\commo.mac >c:\commo\commo2.dif <cr>
diff -u c:\commo\commo.set c:\commo\beta\commo.set >commo3.dif <cr>
patch c:\commo\commo1.dif <cr>

were tried.
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.
When I tried the command:
d:\djgpp\bin\diff -c c:\commo\beta\commo.mac c:\commo\commo.mac
>c:\commo\commo2.dif <cr>
all that would come back was command not recognized.

Possibly memory got exhausted for some reason I don't know.
I had to power down and reboot the system.

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.



Jude <dashiell AT clark DOT net>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019