Skip to content

ugrep shoud use byte based column number #507

@mattn

Description

@mattn

Hi, Thanks your working. I notice that ugrep's column number is not same as grep or ag, rg etc.

あいう
$ rg --vimgrep い file.txt
file.txt:1:4:あいう
$ ag --vimgrep い file.txt
file.txt:1:4:あいう
$ ugrep -H -n -k い file.txt
file.txt:1:2:あいう

ugrep seems to output unicode character based column number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions