Diff?

Discussion in 'Mac Basics and Help' started by Clusty, Apr 1, 2007.

  1. Clusty macrumors regular

    Joined:
    Dec 22, 2006
    #1
    Somebody told me that there was a text comparing program for macs, called Diff. He also said that it's a Unix Tool.

    Where do I get "diff"?
     
  2. Clusty thread starter macrumors regular

    Joined:
    Dec 22, 2006
  3. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Its a command line tool. You need to open the Terminal and type:

    Code:
    diff file1 file2
    
    file1 and file2 must be specified as full (Unix) paths or as relative paths to the cwd.

    Or you can install the developer tools and use Apple's very pretty GUI for it called FileMerge.
     
  4. Clusty thread starter macrumors regular

    Joined:
    Dec 22, 2006
    #5
    I already have developer tools installed. I just tried FileMerge. Works like a charm. :)
     

Share This Page