in reply to compare and find difference between two files

Uhhhh.... what about the 30-year-old Unix command... diff ? ? ?
  • Comment on Re: compare and find difference between two files

Replies are listed 'Best First'.
Re^2: compare and find difference between two files
by Bethany (Scribe) on Jul 15, 2014 at 01:30 UTC

    Looks like the OP is on Windows, so diff probably isn't available. However, the CPAN module Text::Diff implements a somewhat scaled-back diff in Perl so it's cross-platform.

      There's msys for diff and other common Unix tools for Windows, or what about fc.exe? That command has been around since DOS. Did Windows 7 and 8 do away with it?

        Sure, those could be suitable substitutes.

        I say "could" because my memories of fc and the like are vague; I haven't used DOS for command-line stuff in years. I either switch to Linux or bring up a Cygwin terminal, avoiding what I see as less powerful work-arounds.

        TMTOWTDMTOWTDI!