You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if there was an option to get ripgrep to produce output similar to protobuf,
that tools could use to write highly efficient and accurate parsing out the output.
So that the output would be something like
# fieldI1 = path
# field 2 = linenumber
# field 3 = line
#field 4 = matchOffsetPair
# field 5 = contextline (integer index and variable path)
<sizeofrecord>
1 # next is path
<sizeOfField> # if type is variable length
"some path"
2
93(4 bytes of data) # or a compressed integer
3
"Some matching line of lines"
4 # first match
14-4 (8 bytes of data), or two compressed integers
4 # second match
22-4
The text was updated successfully, but these errors were encountered:
What version of ripgrep are you using?
What operating system are you using ripgrep on?
Microsoft Windows 10.0.16299
Describe your question, feature request, or bug.
It would be great if there was an option to get ripgrep to produce output similar to protobuf,
that tools could use to write highly efficient and accurate parsing out the output.
So that the output would be something like
The text was updated successfully, but these errors were encountered: