ibraheemdev/modern-unix

Proposal: qsv (Unix column replacement)

DefaultGen opened this issue · 0 comments

qsv table is much faster than column -t for formatting large amounts of tabular data. Probably not something people need speed from frequently, but helped my use case. xsv didn't work for me due to issues with larger tabular data.

for i in {1..1000}; do cat /proc/mounts >> bigfile; done

time column -t < bigfile
...
real	0m0.326s
user	0m0.248s
sys	0m0.077s

time qsv table --delimiter " " < bigfile
...
real	0m0.126s
user	0m0.042s
sys	0m0.071s

https://github.com/jqnatividad/qsv