SoFunction
Updated on 2025-04-07

Copy the next line's numbers to the back of the previous line and separate the batches with spaces

I want to put a text in the form of this:
25
69
89
99
120

Processed into the following form:
25 69
69 89
89 99
99 120

That is to say, copy the numbers in the next line to the back of the previous line and separate them with spaces. I wonder if dos can do it? Please give me some advice!!