tv

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2018 License: MIT Imports: 10 Imported by: 0

README

tv(table viewer) for delimited file in terminal

GitHub release Build Status codecov Go Report Card GitHub license

Description

tv is a tool to view the delimited file in terminal

Screenshot

Table of Contents

To do

  • search string
  • sort value of column(row)

Installation

Prebuilt binaries(only 64bit)
$ curl https://raw.githubusercontent.com/codechenx/tv/master/install.sh | bash
Build from source

Use go get to install and update:

$ go get -u github.com/codechenx/tv

Key binding

Key description
h, left arrow Move left by one column
l, right arrow Move right by one column
j, down arrow Move down by one row
k, up Move up by one row
g, home Move to the top
G, end Move to the bottom
Ctrl-F, page down Move down by one page
Ctrl-B, page up Move up by one page

Usage

Usage: tv [--sep SEP] [--ss SS] [--h H] [--t] FILENAME

Positional arguments: FILENAME

Options:

  • --sep SEP, -s SEP split symbol
  • --ss SS ignore lines with specific prefix
  • --sn SN ignore first n lines
  • --h H -1, no column name and row name; 0, use first row as row name; 1, use first column as column name; 2, use first column as column name and first row as row name
  • --t transpose and view data
  • --help, -h display this help and exit
  • --version display version and exit

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL