From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,683d44cd600a8851 X-Google-Attributes: gid103376,public From: "W. Wesley Groleau (Wes)" Subject: Re: Ada-smart diff tool Date: 1997/03/20 Message-ID: <9703210420.AA26492@most>#1/1 X-Deja-AN: 227181470 Sender: Ada programming language Comments: To: nasser@apldbio.COM at Mar 20, 97 7: 37 pm Mailer: Elm [revision: 70.85] Newsgroups: comp.lang.ada Date: 1997-03-20T00:00:00+00:00 List-Id: :> did you look at the unix diff command? it does some of things :> you wanted. I appreciate the suggestion, but diff and sdiff will not get the job done. I'm looking for a tool that will ONLY show genuine differences in the Ada diff -b will say that An_Array(I) and An_Array ( I ) are different which is not true for my purposes. diff -w will say that A := new block and A := newblock are the same which is not true for my purposes. diff -i will say that Result := "AAA" is the same as Result := "aaa" which is not true for my purposes. And finally, I know of _no_ trick whereby diff will recognize that if This_Is_True then is the same as if This_Is_True then I have to compare thousands of lines for "REAL" changes and am trying to save the time of looking at changes that need not be made just to determine that they need not be made! But I can't just blindly install the "new" code, because I actually need to ensure that such a "REAL" change is correct. I can do tricks with awk/sed/perl and pretty printers to reformat the Ada before diff-ing it, but I was checking to see if I could find a tool with the features already coded.... --------------------------------------------------------------------------- W. Wesley Groleau (Wes) Office: 219-429-4923 Hughes Defense Communications (MS 10-41) Home: 219-471-7206 Fort Wayne, IN 46808 (Unix): wwgrol@pseserv3.fw.hac.com ---------------------------------------------------------------------------