Skip to content

ebenoist/csvq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSVQ

A simple CSV tool

NAME:
   csvq - A Simple CSV Tool

USAGE:
   cat my.csv | csvq

VERSION:
   0.0.1

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --col, -c    Specify the columns to print by name or number
   --help, -h   show help
   --version, -v  print the version

Examples

$ cat routes.csv | csvq -c 1,2
route_short_name route_long_name
0                South Broadway
0L               South Broadway Limited
1                1st Avenue
10               East 12th Avenue
100              Kipling Street
$ cat routes.csv | csvq -c route_short_name,route_long_name
route_short_name route_long_name
0                South Broadway
0L               South Broadway Limited
1                1st Avenue
10               East 12th Avenue
100              Kipling Street