mattn / jvgrep

grep for japanese vimmer
https://mattn.kaoriya.net/
140 stars 19 forks source link

Return zero value as exit code when don't hit anything #54

Closed babarot closed 7 years ago

babarot commented 7 years ago

Thank you for developing useful CLI tool!

Now, jvgrep returns zero value as exit code even if doesn't hit anything:

$ cat *.csv | jvgrep あ
$ echo $?
0

I want jvgrep to return non-zero like grep:

$ cat *.csv | grep a
$ echo $?
1
babarot commented 7 years ago

Thanks