Mar 092021
 

 Until this week I did not know about the column command.$ head -5 zillow.csv “Index”, “Living Space (sq ft)”, “Beds”, “Baths”, “Zip”, “Year”, “List Price ($)” 1, 2222, 3, 3.5, 32312, 1981, 250000 2, 1628, 3, 2,   32308, 2009, 185000 3, 3824, 5, 4,   32312, 1954, 399000 4, 1137, 3, 2,   32309, 1993, 150000Turned out this file is much more readable with a good pipe (and a large screen)$ head -5 zillow.csv | column –table –separator ,”Index”   “Living Space (sq ft)”   “Beds”   “Baths”   “Zip”     “Year”   “List Price ($)” 1        2222                     3        3.5       32312     1981     250000 2        1628                     3        2           32308   2009     185000 3        3824                     5        4           32312   1954     399000 4        1137                     3        2           32309   1993     150000column is part of util-linux and is thus…

External feed Read More at the Source: http://meta.libera.cc/2021/03/displaying-csv-files-in-readable-way-on.html

 2021-03-09  Comments Off on Planet Debian – Emmanuel Kasper: Displaying CSV files in a readable way on the terminal