I have text files with thousands of lines of data.
I want to reverse the contents of a file.
So if the file "A" contains:
Quote:
This is the first line.
This be line 2.
Ah ha, line 3.
The last line goes here.
|
I would like file "A" to contain:
Quote:
The last line goes here.
Ah ha, line 3.
This be line 2.
This is the first line.
|
So it not any kind of sort order.
Just turn the file upside down.
Is there a shell command that can do this?