From eb70be6c80ba3c08fc01920e91ff2b50bb65734e Mon Sep 17 00:00:00 2001 From: shenwei356 Date: Sat, 11 Mar 2017 14:57:32 +0800 Subject: [PATCH] v0.7.0 --- README.md | 9 +++++---- csvtk/cmd/helper.go | 2 +- doc/docs/download.md | 2 +- doc/docs/usage.md | 6 +++--- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8337b2f..2f59342 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ automatically and time-consuming to repeat**, especially when we want to apply similar operations with different datasets or purposes. ***You can also accomplish some CSV/TSV manipulations using shell commands, -but more codes are needed to handle the header line.*** +but more codes are needed to handle the header line. Shell commands do not +support selecting columns with column names either.*** `csvtk` is **convenient for rapid data investigation and also easy to be integrated into analysis pipelines**. @@ -59,7 +60,7 @@ It could save you much time of writing Python/R scripts. e.g. `-f "-id,-name"` for all fields except "id" and "name", `-F -f "a.*"` for all fields with prefix "a.". - **Support common plots** (see [usage](http://bioinf.shenwei.me/csvtk/usage/#plot)) - +- Seamlessly support for data with meta line (e.g., `sep=,`) of separator declaration used by MS Excel ## Subcommands @@ -176,6 +177,8 @@ name-indexed data such as CSV and tabular JSON http://johnkerl.org/miller ## Examples +More [examples](http://shenwei356.github.io/csvtk/usage/) and [tutorial](http://shenwei356.github.io/csvtk/tutorial/). + **Attention** 1. The CSV parser requires all the lines have same number of fields/columns. @@ -187,8 +190,6 @@ name-indexed data such as CSV and tabular JSON http://johnkerl.org/miller 5. By default, csvtk handles CSV files, use flag `-t` for tab-delimited files. 6. If `"` exists in tab-delimited files, use flag `-l`. -More [examples](http://shenwei356.github.io/csvtk/usage/) and [tutorial](http://shenwei356.github.io/csvtk/tutorial/) - Examples 1. Pretty result diff --git a/csvtk/cmd/helper.go b/csvtk/cmd/helper.go index 44577d9..bab7c5a 100644 --- a/csvtk/cmd/helper.go +++ b/csvtk/cmd/helper.go @@ -36,7 +36,7 @@ import ( ) // VERSION of csvtk -const VERSION = "0.7.0-dev2" +const VERSION = "0.7.0" func checkError(err error) { if err != nil { diff --git a/doc/docs/download.md b/doc/docs/download.md index 534ece8..69418aa 100644 --- a/doc/docs/download.md +++ b/doc/docs/download.md @@ -14,7 +14,7 @@ these commands treat the first row as header line and require them to be unique. - `csvtk stat` renamed to `csvtk stats`, old name is still available as an alias. - `csvtk stat2` renamed to `csvtk stats2`, old name is still available as an alias. -- [issues/13](https://github.com/shenwei356/csvtk/issues/13) **seamlessly support data with meta line of separator declaration used by MS Excel**, e.g., +- [issues/13](https://github.com/shenwei356/csvtk/issues/13) **seamlessly support for data with meta line of separator declaration used by MS Excel**, e.g., $ cat names_with_meta.csv sep=, diff --git a/doc/docs/usage.md b/doc/docs/usage.md index 37af751..3126213 100644 --- a/doc/docs/usage.md +++ b/doc/docs/usage.md @@ -71,7 +71,7 @@ Usage ``` A cross-platform, efficient and practical CSV/TSV toolkit -Version: 0.7.0-dev2 +Version: 0.7.0 Author: Wei Shen @@ -115,7 +115,7 @@ Available Commands: sort sort by selected fields space2tab convert space delimited format to CSV stats summary of CSV file - stats2 summary of selected number fields + stats2 summary of selected digital fields tab2csv convert tabular format to CSV transpose transpose CSV data uniq unique data without sorting @@ -530,7 +530,7 @@ Examples Robert,Thompson,abc Robert,Abel,123 -- All fields: `csvtk cut -F -f "*"` +- All fields: `csvtk cut -F -f "*"` (only works when all colnames are unique) $ cat testdata/names.csv | csvtk cut -F -f "*" id,first_name,last_name,username