Greetings.
So the question is basically the same as it's in the title.
I'd like to write a program that changes a file by rows. So to clarify it.
(i know i shouldn't use code,/code here but i would like to separate it)
So for example a text file looks like something like this:
Happy Birthday!
Happy Mother's day!
Happy New Year!
.
.
.
Happy Blablabla!
and the result should look like:
Happy Blablabla!
.
.
.
Happy New Year!
Happy Mother's day!
Happy Birthday!
Sorry for this stupid example, but I think it is easier to understand in this way. The reason why i post this is that i've got no idea how to start it. I've searched for some commands that might switch the lines but found nothing.
Thanks for your help in advance and sorry for my english, might have spelled something wrong!