meta data for this page
  •  

File/text manipulating snippets using awk, grep, sed and others.

Remove newline character every N lines

awk '{getline line2;print $0, line2}' sample.text