vbin is a collection of Command Line Tools for Unix used with other Unix Bash commands to form a formidable arsenal of tools.
Source: https://github.com/dlink/vbin
Documentation: http://crowfly.net/vbin
|
|
|
|
- col_sum
- csv2html
- csv2inserts
- csv2wiki
- csvformat
- csvformat2
- show_header
- xlsx2csv
- count
- count_distinct
- desc
- explain
- sql_pretty
- show_create
- show_indexes
- show_tables
- select5
- selectall
- selecthistogram
- selectmax
- selectsome
- tally
-
fwk_usage
List all foreign keys that refer to a given table
Example:
fwk_usage central order_items | mysql -t
Returns:
+-----------------+------------+-----------------------+ | constraint_name | table_name | referenced_table_name | +-----------------+------------+-----------------------+ | shipping_ibfk_1 | shipping | order_items | +-----------------+------------+-----------------------+ -
histogram
Generate a histogram from a list of data.
Example:
Given spreadsheet of names and addresses, as a csv file, answer the question: How many people come from each state:
cut -d',' -f6 professors.csv | histogram