tomnomnom / gf

A wrapper around grep, to help you grep for things
MIT License
1.77k stars 312 forks source link

Binary file (standard input) matches #49

Closed dd404x closed 3 years ago

dd404x commented 4 years ago

After gf runs for a period of time, it will treat the input file as a binary file, and grep can usually be solved by using the -a option. But how can gf avoid this problem image

robre commented 3 years ago

I suppose you can just add the -a flag to your pattern definition