textpatterndiff.pl - Analyse what line based text pattern changed and how much between to text files.
version 0.003
textpatterndiff.pl [--from=[FILE]] [--to=[FILE]] [--threshhold=[PERCENTVALUE]]
Two similar textfiles are split up to lines with tokens. These tokenslines are compared. For each token line the percentual change of occurence is calculated.
Path of the baseline file. If not defined then STDIN is used.
Path of the compared file. If not defined then STDIN is used.
Show only tokenlines that have changed beyound the threshhold.
A positive og negative percent change value for each tokenline is show. In the case of a change from nothing then "*%" is shown.
Textoola on github.com
Sascha Dibbern (sascha@dibbern.info)
Sascha Dibbern <sacha@dibbern.info>
This software is copyright (c) 2017 by Sascha Dibbern.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Textoola, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Textoola
CPAN shell
perl -MCPAN -e shell install Textoola
For more information on module installation, please visit the detailed CPAN module installation guide.