title | permalink | layout | nav_order | subsite_nav |
---|---|---|---|---|
tabl less |
/less |
home |
6 |
true |
This command lets you view a delimited text file in a TUI paging environment. It operates very similarly to the less command. You can scroll through rows and columns.
One unique feature is that the header values are always displayed as the top line. This way, you can keep track of the meaning for column, even if you are at the end of the file. Also, when scrolling, you can also set certain columns to be "sticky". This means that those columns are always shown, even if you are currently looking at columns further to the right.
$ tabl less [filename] {options}
If filename
is not given, stdin is assumed. Use -
to explicitly read from stdin.
--min
-- the minimum width for a column--max
-- the maximum width for a column
(by default, the width is auto determined)
--csv
-- the file is a CSV file--no-header
-- the file doesn't contain a header row--header-comment
-- the header is the last commented line (not common, but used sometimes in bioinformatics, eg. VCF format)
$ tabl less iris.txt
? Show the help text
q,Ctrl-C,ESC Quit the program
/ Search
m,Enter Mark a line
s Save marked lines to a file
c Clear marked lines
x Select "sticky" columns
To select sticky columns, use
arrow keys and hit space to toggle on/off.
Hit ESC to exit "sticky-select" mode.
Navigation
h,left-arrow Move left a column
j,down-arrow Move down a row
k,up-arrow Move up a row
l,right-arrow Move right a column
space Move down a page
b Move up a page