Mercurial > repos > gordon > unix_tools
comparison tail.xml @ 0:631dfde45073 draft default tip
First tool-shed public version
| author | gordon |
|---|---|
| date | Tue, 09 Oct 2012 18:48:06 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:631dfde45073 |
|---|---|
| 1 <tool id="cshl_tail_tool" name="tail" version="0.1.1"> | |
| 2 <description></description> | |
| 3 <command> | |
| 4 tail --lines $count '$input1' > '$output' | |
| 5 </command> | |
| 6 | |
| 7 <inputs> | |
| 8 <param format="txt" name="input1" type="data" label="file to cut" /> | |
| 9 | |
| 10 <param name="count" type="integer" size="5" label="Output last X lines" help="" value = "10" /> | |
| 11 </inputs> | |
| 12 | |
| 13 <outputs> | |
| 14 <data format="input" name="output" metadata_source="input1" | |
| 15 /> | |
| 16 </outputs> | |
| 17 <help> | |
| 18 | |
| 19 **What it does** | |
| 20 | |
| 21 This tool runs the **tail** unix command, which discards lines from the beginning of a file. | |
| 22 | |
| 23 </help> | |
| 24 </tool> |
