Mercurial > repos > xuebing > sharplabtool
diff tools/mytools/removeDuplicate.xml @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/mytools/removeDuplicate.xml Fri Mar 09 19:37:19 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>