Page 1 of 1

Logic behind SuperC working

PostPosted: Wed Jun 16, 2021 9:58 pm
by rima_s_2109
What is the logic behind the SuperC working.
How it is comparing the files?
Actually we wanted to develop new utility using python which will work like SuperC(3.13).

Re: Logic behind SuperC working

PostPosted: Wed Jun 16, 2021 10:26 pm
by enrico-sorichetti
if the TS had spent about 4 seconds googling for "python file compare"
or even better for "file compare algorithms"
he/she would not have had the need to ask

the search returned
https://docs.python.org/3/library/filecmp.html
and
https://docs.python.org/3/library/diffl ... le-difflib

to get the most out of the questions asked
and avoid pissing off the people who spend thir time helping
it would be wise for the TS to read and meditate on
How To Ask Questions The Smart Way
http://catb.org/~esr/faqs/smart-questions.html

or read at https://cbttape.org or at https://github.com/mainframed/CBTTAPE the sources of
//*+File 045: PDS Compare program adapted from Yale compare pgm *
//*+File 226: COMPRSEQ - Dave Cole's compare program - orig vers *
//*+FILE 722: FileWiz - File Compare Program from Shirley Huhtanen *

or the sources of
GNU Diffutils, a package of several programs related to finding differences between files.
https://www.gnu.org/software/diffutils/