Re:Show HN: Tidy Viewer – a cross-platform CSV pretty printe...
by flusteredBias on Monday September 27, 2021 @11:34AM
(#28671955)
I would need more details on what you mean by "pre-parsing". It works with any deliminator, it could be comma-separated, pipe-separated, etc.
Re:Show HN: Tidy Viewer – a cross-platform CSV pretty printe...
by mixmastamyk on Monday September 27, 2021 @12:06PM
(#28672465)
Doesn't need to be pre-parsed. Perhaps give the filename to the utility instead of content via stdin. Then filename gives a hint. If there is none, run "file filename" (via library) beforehand.
Re:Show HN: Tidy Viewer – a cross-platform CSV pretty printe...
by inostia on Monday September 27, 2021 @01:29PM
(#28673577)
I actually like `tidy` better and honestly would rather have `cat a.csv | tidy ...`. But it's probably already a thing.
Re:Show HN: Tidy Viewer – a cross-platform CSV pretty printe...
by flusteredBias on Thursday September 30, 2021 @12:14PM
(#28708035)
You don't have to make the alias `tv`. Feel free to make your alias tidy='tidy-viewer'.
Does your framework support the idea of pre-parsing the file's content and selecting an appropriate renderer, or is it fairly tied to CSVs?