質問

I'm trying to use agrep and I can do approximate matches but I need to know where the match starts and where it finishes. Are there any flags that would allow me to do that?

正しい解決策はありません

他のヒント

Is --show-position what you're looking for? From the docs:

Output control:

--show-position

Prefix each output record with the start and end offset of the first match within the record. The offset of the first character of the record is 0. The end position is given as the offset of the first character after the match.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top