:g/====\|----/-1p
Prints the line above all the lines with '====', and the line above all the lines with '----'
No comments:
Post a Comment