Problem scenario
When grepping a file or output, you get "Binary file (standard input) matches". You only see a subportion of the matching strings. What should you do?
Solution
Use the -a flag. Here is an example: cat foobar.txt | grep -a coolterm
A Technical I.T./DevOps Blog
Problem scenario
When grepping a file or output, you get "Binary file (standard input) matches". You only see a subportion of the matching strings. What should you do?
Solution
Use the -a flag. Here is an example: cat foobar.txt | grep -a coolterm