From 147932ae2da02b5eceb6be6e1d704e1199bcb72e Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Fri, 21 Aug 2026 09:51:36 +0200 Subject: 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. --- colitur-x | Bin 17872 -> 17968 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'colitur-x') diff --git a/colitur-x b/colitur-x index f2b36f7..b5db32a 100755 Binary files a/colitur-x and b/colitur-x differ -- cgit v1.3