diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -12,8 +12,12 @@ Keys: arrows or `hjkl` move, `n`/`p` change month, `q` quits. It reads CSV on **stdin** and nothing else, so the shell decides what it shows. One month: - colitur emit --format csv --from 2027 --to 2027 \ - | { head -1; grep "^2027-04"; } | colitur-x + colitur emit --format csv --from 2027 --to 2027 | grep "^2027-04" | colitur-x + +The header line is detected rather than assumed, so filtering it away is +fine. An earlier version skipped the first line unconditionally, which meant +that pipeline silently dropped 1 April -- the program fought the obvious +filter instead of composing with it. Another language, or a local calendar: |
