Why does grep report “Binary file matches”?
The grep command is a powerful tool for searching for text in files. However, it can sometimes report “Binary file matches” if the file it is searching contains binary data. This is because grep by default assumes that a file is binary if the first few bytes of the file indicate that it contains binary data. Today I found an…
Read More »