Mercurial > repos > gordon > unix_tools
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tail.xml Tue Oct 09 18:48:06 2012 -0400 @@ -0,0 +1,24 @@ +<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>
