Mercurial > repos > gordon > unix_tools
view 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 |
line wrap: on
line source
<tool id="cshl_tail_tool" name="tail" version="0.1.1"> <description></description> <command> tail --lines $count '$input1' > '$output' </command> <inputs> <param format="txt" name="input1" type="data" label="file to cut" /> <param name="count" type="integer" size="5" label="Output last X lines" help="" value = "10" /> </inputs> <outputs> <data format="input" name="output" metadata_source="input1" /> </outputs> <help> **What it does** This tool runs the **tail** unix command, which discards lines from the beginning of a file. </help> </tool>
