I have some files that look like this:
0 04 040 040t 040te 040tes 040test 040test2 041 041t 041te 041tes 041test 041test1 0n 0ne 0ne- 0ne-o 0ne-os 0ne-osx
I need to delete all the lines that are included in the line after them. IOW, I need to reduce it to this:
040test2 041test1 0ne-osx
Any suggestions for the Linux CLI or vim to accomplish this? Thanks.