csvlens(1)

<csvlens>(1) Linux User's Manual <csvlens>(1)
is a command line CSV file viewer. It is like less but made for CSV.
 -d, --delimiter <char>

Delimiter character (comma by default) or "auto" to auto-detect the delimiter.
-t,-tab-separated

Use tab separation. Shortcut for -d '\t'

--no-headers

Do not interpret the first row as headers
--columns <regex>

Use this regex to select columns to display by default
--filter <regex>

Use this regex to filter rows to display by default
--find <regex>

Use this regex to find and highlight matches by default

-i, --ignore-case

Searches ignore case. Ignored if any uppercase letters are present in the search string
--echo-column <column_name>

Print the value of this column to stdout for the selected row
--debug

Show stats for debugging
-h,--help

Print help
-V,--version

Print version

hjkl (or ← ↓ ↑→ ) Scroll one row or column in the
given direction
Ctrl + f (or Page Down) Scroll one window down
Ctrl + b (or Page Up) Scroll one window up
Ctrl + d (or d) Scroll half a window down
Ctrl + u (or u) Scroll half a window up
Ctrl + h Scroll one window left
Ctrl + l Scroll one window right
Ctrl + ← Scroll left to first column
Ctrl + → Scroll right to last column
G (or End) Go to bottom
g (or Home) Go to top
<n>G Go to line n
<regex> Find content matching regex
and highlight matches
n (in Find mode) Jump to next result
N (in Find mode) Jump to previous result
<regex> Filter rows using regex (show only matches)
<regex> Filter columns using regex
(show only matches)
TAB Toggle between row,
column or cell selection modes
> Increase selected column's width
< Decrease selected column's width
Shift + ↓ (or Shift + j) Sort rows by the selected column
# (in Cell mode) Find and highlight rows
like the selected cell
@ (in Cell mode) Filter rows like the selected cell
y (in Cell Mode) Copy the selected cell to clipboard
Enter (in Cell mode) Print the selected cell to stdout and exit
-S Toggle line wrapping
-W Toggle line wrapping by words
r Reset to default view
(clear all filters and custom column widths)
H (or ?) Display help
q Exit
All bugs welcome to https://github.com/YS-L/csvlens/issues Code: Yung Siang Liau https://github.com/YS-L/
MAN: Anton Shevtsov <shevtsov.anton@gmail.com>
<4/26/24>