Mercurial > repos > xuebing > unique_line
diff unique_line.xml @ 0:a43de04b5a62 default tip
Uploaded
author | xuebing |
---|---|
date | Sat, 31 Mar 2012 14:10:22 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unique_line.xml Sat Mar 31 14:10:22 2012 -0400 @@ -0,0 +1,10 @@ +<tool id="unique_line" name="unique_line"> + <description>remove duplicate lines</description> + <command> cat $input | sort | uniq > $output </command> + <inputs> + <param name="input" format="txt" type="data" label="Original file"/> + </inputs> + <outputs> + <data format="input" name="output" /> + </outputs> +</tool>