How can I give double space between every three lines in a text file using awk?
Sample input:
line1
line2
line3
line4
line5
line6
line7
----
----
Sample output:
line1
line2
line3
line4
line5
line6
line7
----
----
Any suggestions would be appreciated
Try this:
And there are other ways…