Mercurial > repos > bgruening > text_processing
view tail.xml @ 0:ec66f9d90ef0 draft
initial uploaded
| author | bgruening |
|---|---|
| date | Thu, 05 Sep 2013 04:58:21 -0400 |
| parents | |
| children | a4ad586d1403 |
line wrap: on
line source
<tool id="unitools_tail_tool" name="Select last" version="0.1.1"> <description>lines from a dataset (tail)</description> <requirements> <requirement type="package" version="8.21">gnu_coreutils</requirement> </requirements> <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" value="10" label="Output last X lines" help="" /> </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>
