Skip to content

Commit

Permalink
v0.3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Oct 6, 2016
1 parent bb5765b commit e279174
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
3 changes: 1 addition & 2 deletions csvtk/cmd/grep.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"runtime"
"strings"

"github.com/shenwei356/xopen"
"github.com/fatih/color"
"github.com/mattn/go-colorable"
"github.com/shenwei356/breader"
"github.com/shenwei356/xopen"
"github.com/spf13/cobra"
)

Expand Down Expand Up @@ -244,7 +244,6 @@ var grepCmd = &cobra.Command{
for _, f := range fields {
target = record[f-1]
hitOne = false

if useRegexp {
for _, re := range patternsMap {
if re.MatchString(target) {
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.3.8"
const VERSION = "0.3.8.1"

func checkError(err error) {
if err != nil {
Expand Down
19 changes: 12 additions & 7 deletions doc/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@

## Current Version

[csvtk v0.3.8](https://github.com/shenwei356/csvtk/releases/tag/v0.3.8)
[csvtk v0.3.8.1](https://github.com/shenwei356/csvtk/releases/tag/v0.3.8.1)

- new feature: `csvtk cut` supports ordered fields output. e.g., `csvtk cut -f 2,1`
outputs the 2nd column in front of 1th column.
- new commands: `csvtk plot` can plot three types of plots by subcommands:
- `csvtk plot hist`: histogram
- `csvtk plot box`: boxplot
- `csvtk plot line`: line plot and scatter plot
- fix bug of flag parsing library [pflag](https://github.com/spf13/pflag),
[detail](https://github.com/spf13/pflag/pull/98).
The bug affected the `csvtk grep -r -p`, when value of `-p` contain "[" and "]"
at the beginning or end, they are wrongly parsed.

Links:

Expand Down Expand Up @@ -61,6 +59,13 @@ For Go developer, just one command:

## Previous Versions

- [csvtk v0.3.8](https://github.com/shenwei356/csvtk/releases/tag/v0.3.8)
- new feature: `csvtk cut` supports ordered fields output. e.g., `csvtk cut -f 2,1`
outputs the 2nd column in front of 1th column.
- new commands: `csvtk plot` can plot three types of plots by subcommands:
- `csvtk plot hist`: histogram
- `csvtk plot box`: boxplot
- `csvtk plot line`: line plot and scatter plot
- [csvtk v0.3.7](https://github.com/shenwei356/csvtk/releases/tag/v0.3.7)
- fix a serious bug of using negative field of column name, e.g. `-f "-id"`
- [csvtk v0.3.6](https://github.com/shenwei356/csvtk/releases/tag/v0.3.6)
Expand Down
2 changes: 1 addition & 1 deletion doc/site
Submodule site updated from 54b3c9 to 104348

0 comments on commit e279174

Please sign in to comment.