MegaTools.live

Reverse lines

Reverse the order of lines in a list.

How to use Reverse lines

Switch a newest-first list into oldest-first order when each record occupies one line. The text within a row stays intact. A trailing newline becomes a leading blank row.

Worked example

Input
First
Second
Third
Output
Third
Second
First