Mercurial > repos > xuebing > sharplabtool
diff mytools/removeDuplicate.xml @ 9:87eb5c5ddfe9
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 20:01:43 -0500 |
parents | f0dc65e7f6c0 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mytools/removeDuplicate.xml Fri Mar 09 20:01:43 2012 -0500 @@ -0,0 +1,10 @@ +<tool id="removeDuplicate" name="remove duplicate"> + <description>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>