Hi, people.
I have a large txt file composed of quotes and their authors, but I need to change the position of the author's name.
So, every quote is in this format:
And I need them to be like this:(tab)Nobody likes me
Author: Tolstoy , Leon (4 spaces)
The various quotes are placed just one after another, with just a simple carriage return between them (ie, no blank line, nothing).Nobody likes me.
Leon Tolstoy
I need to:
. remove the TAB before the quote
. put a period after the quote
. remove the "Author: "
. change the names' position
. remove the 4 spaces from after the name
I apologize if I don't know how to do this, but I've already tryied to learn SED but it's beyond my brain capacity...
Thanks a lot!
Bookmarks