App-sdif

 view release on metacpan or  search on metacpan

script/cdif  view on Meta::CPAN


=item B<--style>=I<style>

Compare input data line-by-line.  Consider the inputs as pairs of two
lines each, and output the result of comparing each two lines.

Suppose you have a document with old and new text on lines beginning
with L<OLD:> and L<NEW:> labels.

    OLD: this is old text
    NEW: and this is updated document

Only this old/new part can be compared using B<greple>'s B<-Mtee>
module as follows.

    greple -Mtee cdif --lxl -- --cm=N -GE '^OLD: (.*\n)^NEW: (.*\n)'

B<-Mtee> module sends matched parts to the filter command and replace
them by its result.  Consult L<App::Greple::tee> for detail.

You can use L<teip(1)> command as well.

script/watchdiff  view on Meta::CPAN


Use C<-C#> option if the output is large and you want to see modified
part only.

=head1 OPTIONS

=over 7

=item B<-C>[I<context>]

Show I<context> lines before/after updated part.  This option implies
the C<--verbose> option enabled. To explicitly disable it, specify the
C<--no-verbose> option.

=item B<-S>, B<-->[B<no->]B<scroll>

Set the scroll area from the third line of the screen to the bottom
edge.  Default on.

=back



( run in 2.130 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )