Linux Unix Questions

Computer Science
Tutor: None Selected Time limit: 1 Day

Will this command remove all of the blank lines from the output of the command?

sed '/^$/d' sedfile

Nov 15th, 2014

yes it will but you may have space or tabs in your blank lines then you may try '/^\s*$/d

Nov 15th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Nov 15th, 2014
...
Nov 15th, 2014
Feb 28th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer