Skip to content

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Mar 11, 2017
1 parent eae1eab commit eb70be6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion csvtk/cmd/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=,
Expand Down
6 changes: 3 additions & 3 deletions doc/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <shenwei356@gmail.com>
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit eb70be6

Please sign in to comment.