Closed jondegenhardt closed 4 years ago
Merging #291 into master will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #291 +/- ##
=======================================
Coverage 99.33% 99.33%
=======================================
Files 18 18
Lines 6607 6657 +50
=======================================
+ Hits 6563 6613 +50
Misses 44 44
Impacted Files | Coverage Δ | |
---|---|---|
common/src/tsv_utils/common/fieldlist.d | 99.88% <100.00%> (+<0.01%) |
:arrow_up: |
tsv-split/src/tsv_utils/tsv-split.d | 98.48% <100.00%> (+0.03%) |
:arrow_up: |
This PR is a follow-on to PRs #284, #285, #286, #288, and #289. It adds named field support to tsv-uniq. It works the same way as the support added to tsv-select, see PR #284 for more info.
Named field support is backward compatible with numeric fields. As with the other tools, this support is not documented yet, even in the help text. Documentation will be added when named field support has been added to all tools and a release performed.
This PR also fixes a regression introduced in PR #290. That PR incorrectly identified field groups containing a backslash escaped hyphen as a mixed named-numeric ranges. These were flagged as invalid, incorrectly terminating command line argument processing.
This is a step towards enhancement request #25.