How do I insert a blank line in Unix?

How do I insert a blank line in Unix?
Answer
The G sed command appends a newline followed by
the content of the hold space (here empty as we don’t put anything in it) to the pattern space. So it’s a quick way to add an empty line below that matched line.
 

Tìm kiếm

Back
Top