diff - Perl Power Tools to compute `intelligent' differences between two files / lists
Usage: $0 [{-c | -C lines -e | -f | -u | -U lines}] oldfile newfile
-c do a context diff with 3 lines of context -C do a context diff with 'lines' lines of context (implies -c) -e create a script for the ed editor to change oldfile to newfile -f like -e but in reverse order -u do a unified diff with 3 lines of context -U do a unified diff with 'lines' lines of context (implies -u) -q report only whether or not the files differ
By default it will do an "old-style" diff, with output like UNIX diff
Mark-Jason Dominus, <mjd-perl-diff@plover.com>.
<mjd-perl-diff@plover.com>
Visit my diff/LCS web page at http://www.plover.com/~mjd/perl/diff/.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.