Alexey Dubovkin wrote:
*Expected result:*
A full output of the test file since all lines matches 31325

Since you are running 'grep' in a picky locale where that file is not a text file, grep treats the file as binary data. If you want the file to be treated as text, then set the locale to something more generous, or use grep -a. Either of the following shell commands should work with grep 2.25:

LC_ALL=C grep 31325 test

grep -a 31325 test





Reply via email to