comparison diff.xml @ 0:9299a59defda draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justdiff commit 1ef8ddce2dd398b8328eb864295a3cfbe95087b3
author artbio
date Wed, 27 Sep 2017 11:27:47 -0400
parents
children 294d9452c0d4
comparison
equal deleted inserted replaced
-1:000000000000 0:9299a59defda
1 <tool id="justdiff" name="Differences between two files" version="0.6.0">
2 <description></description>
3 <stdio>
4 <exit_code range="1:" level="fatal" description="Tool exception" />
5 </stdio>
6 <command detect_errors="exit_code"><![CDATA[
7 diff '${input1}' '${input2}' | cat > '$output'
8 ]]></command>
9 <inputs>
10 <param format="txt" name="input1" type="data" label="first file" help="first file" />
11 <param format="txt" name="input2" type="data" label="second file" help="second file" />
12 </inputs>
13 <outputs>
14 <data name="output" format="txt" label="diff $input1.name | $input2.name" />
15 </outputs>
16 <tests>
17 <test>
18 <param name="input1" value="file1.txt" ftype="txt" />
19 <param name="input2" value="file2.txt" ftype="txt" />
20 <output name="output" file="diff.txt" ftype="txt"/>
21 </test>
22 </tests>
23 <help>
24
25 .. class:: infomark
26
27 **What it does**
28
29 Just returns the Unix-style **diff** between two files !
30 </help>
31 </tool>
32