I tried grep -v '^$' in Linux and that didn’t work. This file came from a Windows file system. 16 Answers 16 Tags: grepnewlineterminaltext