CHM formated files (parsing)

Jhair Tocancipa Triana jhair.tocancipa at
Mon Mar 5 13:54:38 UTC 2007

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.


More information about the ubuntu-users mailing list