Add DCF (Debian Control Format) as supported file type (#1970)

* reader

* record writer

* pkg/output/record_writer_dcf.go

* test/input/test.dcf

* test/cases/io-dcf/

* pkg/cli/option_parse.go

* make fmt

* make dev

* docs and `make dev`
This commit is contained in:
John Kerl 2026-02-16 11:10:39 -05:00 committed by GitHub
parent a5f4c9d895
commit daae7ff7f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 579 additions and 29 deletions

View file

@ -2,7 +2,7 @@
// Wrapper for os.Open which maps string filename to *os.File, which in turn
// implements io.ReadCloser, and optional in turn wrapping that in a
// gzip/zlib/bunzip2 reader. Shared across record-readers for all the various
// input-file formats (CSV, JSON, XTAB, DKVP, NIDX, PPRINT) which Miller
// input-file formats (CSV, JSON, XTAB, DKVP, NIDX, PPRINT, DCF) which Miller
// supports.
//
// There are two ways of handling compressed data in the Miller Go port: