Closed jondegenhardt closed 4 years ago
Merging #284 into master will increase coverage by
0.04%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #284 +/- ##
==========================================
+ Coverage 99.28% 99.32% +0.04%
==========================================
Files 17 18 +1
Lines 5980 6512 +532
==========================================
+ Hits 5937 6468 +531
- Misses 43 44 +1
Impacted Files | Coverage Δ | |
---|---|---|
common/src/tsv_utils/common/fieldlist.d | 99.87% <ø> (ø) |
|
common/src/tsv_utils/common/utils.d | 100.00% <ø> (ø) |
|
tsv-filter/src/tsv_utils/tsv-filter.d | 100.00% <ø> (ø) |
|
tsv-join/src/tsv_utils/tsv-join.d | 100.00% <ø> (ø) |
|
tsv-sample/src/tsv_utils/tsv-sample.d | 99.43% <ø> (ø) |
|
tsv-split/src/tsv_utils/tsv-split.d | 98.45% <ø> (ø) |
|
tsv-summarize/src/tsv_utils/tsv-summarize.d | 98.26% <ø> (ø) |
|
tsv-uniq/src/tsv_utils/tsv-uniq.d | 100.00% <ø> (ø) |
|
tsv-select/src/tsv_utils/tsv-select.d | 100.00% <100.00%> (ø) |
This PR adds experimental named field support to
tsv-select
. Assume a file with the header fields:Commands like the following can be used:
Field exclusions work also:
Numeric field numbers can be used as before:
Support for the feature is complete for
tsv-select
, but it is not documented yet, including in the help message. Documentation, including help documentation, will be done after named fields have been added to the other tools and a release performed.Another steps towards enhancement request #25