This works well.
$ jvgrep -A1 vim ./README.md
./README.md:4:`jvgrep` is grep for Japanese vimmer. You can find text from files that written in another Japanese encodings.
./README.md:5:
---
./README.md:72:If you problem about output of jvgrep (ex: output of :grep command in vim), try to set $JVGREP_OUTPUT_ENCODING to specify encoding of output.
./README.md:73:
---
./README.md:87:Add following to your vimrc
./README.md:88:
However, -A and -B options are ignored when the input is STDIN.
$ cat README.md| jvgrep -A1 vim
`jvgrep` is grep for Japanese vimmer. You can find text from files that written in another Japanese encodings.
If you problem about output of jvgrep (ex: output of :grep command in vim), try to set $JVGREP_OUTPUT_ENCODING to specify encoding of output.
Add following to your vimrc
This works well.
However, -A and -B options are ignored when the input is STDIN.