csvlook
CSV table renderer for terminal viewing
TLDR
Display CSV as table
$ csvlook [data.csv]
Limit rows displayed$ csvlook --max-rows [10] [data.csv]
Limit column width$ csvlook --max-column-width [20] [data.csv]
Hide line numbers$ csvlook --no-number [data.csv]
Use different delimiter$ csvlook -d ";" [data.csv]
Read from stdin$ cat [data.csv] | csvlook
SYNOPSIS
csvlook [options] file
DESCRIPTION
csvlook renders CSV data as a fixed-width table for terminal viewing. It's part of csvkit and provides a quick way to preview CSV files in a readable format.
The tool auto-sizes columns based on content and displays data with ASCII borders, making it easy to inspect data structure and values.
PARAMETERS
-H, --no-header-row
Input has no header row.--max-rows n
Maximum rows to display.--max-column-width n
Truncate columns at width.--max-columns n
Maximum columns to display.-y n, --snifflimit n
Rows to sniff for delimiter.--no-number
Don't display row numbers.-d char
Field delimiter.-q char
Quote character.-e encoding
Input encoding.
CAVEATS
Large files may be slow to render. Wide tables may wrap in terminal. Part of csvkit, requires Python installation.
HISTORY
csvlook is part of csvkit, created by Christopher Groskopf in 2011. It provides quick data preview capabilities essential for data analysis workflows, complementing other csvkit tools for CSV manipulation.
