Windows 10 Ubuntu WSL fails to display grep output filenames
1
I am using grep -rnl "./" -e "search_string" to search a folder's file contents for a "search_string" but it doesn't display filenames. The "-H" option (force filename in output) doesn't change the output. The "-l" option (return only filenames in output) prints several blank lines proportional to the number of files that contain the "search_string" (I have a vague idea how many files contain it) i.e. grep appears to be returning the filenames but the WSL is failing to print them.
ubuntu grep windows-10 windows-subsystem-for-linux
share | improve this question
asked Nov 24 '18 at...