App-sdif

 view release on metacpan or  search on metacpan

script/sdif  view on Meta::CPAN


=item B<-v>, B<--view>

Viewer mode.  Display each files in straightforward order.  Without
this option, unchanged lines are placed at the same position.

=item B<-V>, B<--parallel>

=item B<-V3>, B<--parallel=3>

B<sdif> processes only looks-like-diff-output data and print anything
else as is to standard out.  Option C<-V> or C<--parallel> makes
unknown text as common to old and new data.  This is useful to see
file including conflict marker data compatible with L<git(1)>.

This option takes an optional number parameter and 2 is assumed when
omitted.  Other than 2, only 3 is an effective value.  L<diff3(1)>
command can produce conflict marker style output with C<-m> option.
So you can use like this:

    $ diff3 -m A B C | sdif -V3



( run in 0.347 second using v1.01-cache-2.11-cpan-64827b87656 )