1 | <tool id="cshl_uniq_tool" name="uniq"> |
---|
2 | <command> |
---|
3 | uniq -f $skipfields $count $repeated $ignorecase $uniqueonly $input $output |
---|
4 | </command> |
---|
5 | |
---|
6 | <inputs> |
---|
7 | <param format="txt" name="input" type="data" label="file to scan for unique values" /> |
---|
8 | |
---|
9 | <param name="count" type="boolean" label="count [-c]" help="prefix lines by the number of occurrences" truevalue="-c" falsevalue="" /> |
---|
10 | |
---|
11 | <param name="repeated" type="boolean" label="repeated [-d]" help="only print duplicate lines" truevalue="-d" falsevalue="" /> |
---|
12 | |
---|
13 | <param name="ignorecase" type="boolean" label="ignore case [-i]" help="ignore differences in case when comparing" truevalue="-i" falsevalue="" /> |
---|
14 | |
---|
15 | <param name="uniqueonly" type="boolean" label="unique only [-u]" help="only print unique lines" truevalue="-u" falsevalue="" /> |
---|
16 | |
---|
17 | <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" /> |
---|
18 | </inputs> |
---|
19 | |
---|
20 | <outputs> |
---|
21 | <data format="input" name="output" metadata_source="input"/> |
---|
22 | </outputs> |
---|
23 | <help> |
---|
24 | </help> |
---|
25 | </tool> |
---|