I have a file that contains:
something something else something else again
I need a bash command, sed/grep w.e that will produce the fo
grep -A1 . | grep -v "^--$"
This grep solution works assuming you want the following:
Input
line1 line2 line3 line4 line5
Output