[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I think I've asked before, but how do I get rid of the false positives for a binary file in a -r search?



On Thu, Jul 21, 2022 at 12:33 PM gene heskett <gheskett@shentel.net> wrote:
>
> Greetings all;
>
> I'm looking for the source file in ".scad" format, which it pretty std
> text, of a module name
> that is likely in a file with a different parent filename, using two
> greps, piping  a -r .scad|grep name
> in file, but I'm getting 5000 lines of binary file matches when it doesn't.
>
> grep -r .scad|grep thrust_brace
>
> Is there an option to shut that binary trash talk off?

-I (capital i) will skip binary files.


Reply to: