Mercurial > repos > xuebing > sharplabtool
view tools/unix_tools/uniq_tool.xml @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line source
<tool id="cshl_uniq_tool" name="uniq"> <command> uniq -f $skipfields $count $repeated $ignorecase $uniqueonly $input $output </command> <inputs> <param format="txt" name="input" type="data" label="file to scan for unique values" /> <param name="count" type="boolean" label="count [-c]" help="prefix lines by the number of occurrences" truevalue="-c" falsevalue="" /> <param name="repeated" type="boolean" label="repeated [-d]" help="only print duplicate lines" truevalue="-d" falsevalue="" /> <param name="ignorecase" type="boolean" label="ignore case [-i]" help="ignore differences in case when comparing" truevalue="-i" falsevalue="" /> <param name="uniqueonly" type="boolean" label="unique only [-u]" help="only print unique lines" truevalue="-u" falsevalue="" /> <param name="skipfields" type="integer" label="skip fields [-f]" help="avoind comparing the first N fields. (use zero to start from the first field)" size="2" value="0" /> </inputs> <outputs> <data format="input" name="output" metadata_source="input"/> </outputs> <help> </help> </tool>