Two Identical Codes

Discussion in 'Programming' started by JohnS0N, Jan 21, 2008.

  1. #1
    I've got two files with identical code. Is there a program which would automatically scan these two files and point out the differences? Color it or something?
     
    JohnS0N, Jan 21, 2008 IP
  2. Dr. XYZ

    Dr. XYZ Guest

    Messages:
    226
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dr. XYZ, Jan 21, 2008 IP
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    in linux its the tool

    diff

    for details see

    man diff
     
    hans, Jan 21, 2008 IP
  4. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Thanks, will try which one suits me!

    hans: unfortunately I don't have linux right now.
     
    JohnS0N, Jan 21, 2008 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    in future posts about problems you may wish to mention your exact HW/SW/OS situation to allow precise instant replies
     
    hans, Jan 21, 2008 IP
  6. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #6
    Already found the solution. This program opens two windows side by side and colors the differences in the code. If anyone else has the same problem, here is the software I used:

    http://www.formulasoft.com/afc.html
     
    JohnS0N, Jan 21, 2008 IP
  7. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #7
    For what it's worth, I still can't go past Araxis Merge. Does it cost? Hell yes, but I think it's worth every bit of it...
     
    TwistMyArm, Jan 21, 2008 IP