Mercurial > repos > bgruening > text_processing
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tail.xml Thu Sep 05 04:58:21 2013 -0400 @@ -0,0 +1,25 @@ +<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>