comparison headtail.xml @ 14:76e1b1b21cce default tip

Deleted selected files
author xuebing
date Tue, 13 Mar 2012 19:05:10 -0400
parents 292186c14b08
children
comparison
equal deleted inserted replaced
13:292186c14b08 14:76e1b1b21cce
1 <tool id="headtail" name="head-or-tail">
2 <description>of a file</description>
3 <command>$headortail -n $nline $input > $out_file1 </command>
4 <inputs>
5 <param name="input" format="txt" type="data" label="Original file"/>
6 <param name="nline" size="10" type="integer" value="10" label="Number of lines to output"/>
7 <param name="headortail" type="select" label="Head or Tail">
8 <option value="head" selected="true">head</option>
9 <option value="tail">tail</option>
10 </param>
11 </inputs>
12 <outputs>
13 <data format="input" name="out_file1" />
14 </outputs>
15 <tests>
16 <test>
17 <output name="out_file1" file="testmap.head"/>
18 <param name="input" value="test.map" ftype="TXT"/>
19 <param name="n" value="10"/>
20 <param name="headortail" value="head" />
21 </test>
22 </tests>
23 <help>
24
25 **What it does**
26
27 This is a wrapper of the unix head/tail command, which is used to show lines at the beginning or at the end of a file.
28
29 </help>
30 </tool>