semkiv / fzgrep-rs

Fuzzy grep implemented in Rust
MIT License
0 stars 0 forks source link

Option to look for only N best matches #37

Closed semkiv closed 8 months ago

semkiv commented 10 months ago

Add a command line option (e.g. --top) that would enable only N best matches to be processed. This option might come handy when dealing with large amounts of data - we won't have to remember all the matching lines, possibly with the surrounding context, but only N of the with the highest scores.