A tiny command-line utility for quickly checking CSV or roster files. It reports total lines, blank lines, and the maximum line length so ops teams can spot obvious formatting issues before ingestion.
- Counts total lines in a CSV or text file
- Flags blank lines (including lines with only spaces or tabs)
- Reports the maximum line length to spot outliers
- Assembly (ARM64 macOS)
- C standard library for file I/O
make
./gs-csv-glance path/to/file.csvOr from stdin:
cat path/to/file.csv | ./gs-csv-glancemake test- If no file path is provided, the tool reads from stdin.