You have a text file that contains empty lines.
Using grep and regular expressions, which command displays the file without the empty lines?
A. grep [/] file
B. grep -v#S file
C. grep ^$ file
D. grep -v ^$ file
You have a text file that contains empty lines.
Using grep and regular expressions, which command displays the file without the empty lines?
A. grep [/] file
B. grep -v#S file
C. grep ^$ file
D. grep -v ^$ file