Serg B writes:
> E.g: for i in *.chm; do grep my_name $i; done
> The problem is that Linux (and undoubtedly Windows) sees the files as
> binary data making grep useless.
man grep
...
-a, --text
Process a binary file as if it were text; this is
equivalent to the --binary-files=text option.
...
--
--Jhair