(Created page with "__NOTOC__ === Synopsis === : grmatch [options] -r <reference> -i <input> [-o <output>] === Description === : The program `grmatch` matches lines read from two input files, na...") |
m (→General options for identifier matching:) |
||
Line 79: | Line 79: | ||
:: This switch forces the usage of the identifier matching method. | :: This switch forces the usage of the identifier matching method. | ||
− | : '''--col-ref-id''' | + | : '''--col-ref-id''' >i<[,<j>,[<k>...]] '''--col-inp-id''' >i<[,<j>,[<k>...]] |
:: Column index or indices containing the identifiers, from the reference and from the input file, respectively. | :: Column index or indices containing the identifiers, from the reference and from the input file, respectively. | ||
: '''--no-ambiguity,''' '''--first-ambiguity,''' '''--any-ambiguity,''' '''--full-ambiguity''' | : '''--no-ambiguity,''' '''--first-ambiguity,''' '''--any-ambiguity,''' '''--full-ambiguity''' | ||
− | :: These options tune the behaviour of the matching when there is more than one occurrence of a given identifier in the reference and/or input file. If '''--no-ambiguity''' is specified, these identifiers are discarded, this is the default method. If '''--first-ambiguity''' is specified, only the first occurence is treated as a matched line, independently from the number of occurrences. If the switch '''--any-ambiguity''' is specified, the lines are paired sequentally, until there is any left from the reference and from the input. For example, if there is 4 occurrences in the reference and 6 in the input file of a given identifier, 4 matched pairs are returned. Otherwise, if '''--full-ambiguity''' is specified, all possible combinations of the lines are treated as matched lines. For example, if there is 4 occurrences in the reference and 6 in the input file of a given identifier, all 4*6=24 combinations are returned as matched pairs. | + | :: These options tune the behaviour of the matching when there is more than one occurrence of a given identifier in the reference and/or input file. If '''--no-ambiguity''' is specified, these identifiers are discarded, this is the default method. If '''--first-ambiguity''' is specified, only the first occurence is treated as a matched line, independently from the number of occurrences. If the switch '''--any-ambiguity''' is specified, the lines are paired sequentally, until there is any left from the reference and from the input. For example, if there is 4 occurrences in the reference and 6 in the input file of a given identifier, 4 matched pairs are returned. Otherwise, if '''--full-ambiguity''' is specified, all possible combinations of the lines are treated as matched lines. For example, if there is 4 occurrences in the reference and 6 in the input file of a given identifier, all 4*6=24 combinations are returned as matched pairs. |
=== Fine-tuning of point matching: === | === Fine-tuning of point matching: === |
]