2018-10-07 13:22:24 +00:00
committed by Git OBS Bridge
parent 5b0288bb8d
commit 410b931917

View File

@@ -40,13 +40,13 @@ Requires: perl(HTML::Entities)
%{perl_requires} %{perl_requires}
%description %description
String::Diff is the difference of a consecutive string is made. after String::Diff is the difference of a consecutive string is made. After
general diff is done, the difference in the line is searchable. general diff is done, the difference in the line is searchable.
the mark of the addition and the deletion can be freely changed. the color the mark of the addition and the deletion can be freely changed. The color
is colored to the terminal with ANSI, using the HTML display it. is colored to the terminal with ANSI, using the HTML display it.
after the line is divided, diff is taken when 'linebreak' option is After the line is divided, diff is taken when 'linebreak' option is
specified. specified.
my($old_string, $new_string) = String::Diff::diff_fully('this is Perl', 'this is Ruby', linebreak => 1); my($old_string, $new_string) = String::Diff::diff_fully('this is Perl', 'this is Ruby', linebreak => 1);