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

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Nov 15th, 2014
...
Nov 15th, 2014
May 25th, 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