aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-21 09:51:36 +0200
committerLukasz Kasprzak <lukasz@arcofasiagroup.com>2026-08-21 09:51:36 +0200
commit147932ae2da02b5eceb6be6e1d704e1199bcb72e (patch)
tree8d6d622551e012ac42598c2d9d96006417496d33 /vendor
parent7459e218fa8b5b86c059762519447cb8863d3e75 (diff)
downloadcolitur-x-147932ae2da02b5eceb6be6e1d704e1199bcb72e.tar.gz
colitur-x-147932ae2da02b5eceb6be6e1d704e1199bcb72e.zip
fix(colitur-x): detect the CSV header instead of assuming it
Skipping the first line unconditionally punished the obvious way to view one month -- colitur emit --format csv ... | grep '^2027-04' | colitur-x -- by silently eating 1 April, because grep had already removed the header the program still expected. A filter is exactly what this program should compose with. A header is the line beginning 'date,'; anything else is a day. Verified all three ways: full year with header 365 rows from 01-01, a grepped month without header 30 rows from 04-01, and the old head -1 incantation still 30 rows.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions