# HG changeset patch # User bgruening # Date 1612385360 0 # Node ID 1fa50ddb7bff5b0c73f1cd07c5e8721201b909d4 # Parent 6cc7ec66d73e204f300cede3e9e9b46ea0ff29ea "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diff commit 04afacfdfc505fb74219d0e6124afdce61e2ad8f" diff -r 6cc7ec66d73e -r 1fa50ddb7bff diff.xml --- a/diff.xml Tue Apr 14 17:55:42 2020 +0000 +++ b/diff.xml Wed Feb 03 20:49:20 2021 +0000 @@ -1,104 +1,115 @@ - - + analyzes two files and generates an unidiff text file with information about the differences and an optional Html report - + + 3.6 + 2 + - diffutils + diffutils sed - - - + + - - '$diff_file'; #if $generate_report: - sed -e 's/@@title@@/Diff report for '$input1.element_identifier' and '$input2.element_identifier'/g' + sed -e 's/@@title@@/Diff report for "$input1.element_identifier" and "$input2.element_identifier"/g' -e 's/@@outputformat@@/'$output_format'/g' -e '/@@diffoutput@@/{r'$diff_file'' -e ';d}' '$__tool_directory__/template.html' > '$html_file' #end if ]]> - - - + + - - + generate_report is True - - - - + + + - + - - - + + + - - - + + + + + + + + + + + + + - - - + + + + - + + - - - - + + + + - - + + - - - - + + + + + + + + - - + - - @misc{gnudiffutils, diff -r 6cc7ec66d73e -r 1fa50ddb7bff test-data/file 3.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/file 3.txt Wed Feb 03 20:49:20 2021 +0000 @@ -0,0 +1,1 @@ +c