I'm using Notapad++ and I have 2 situations here that I'm stuck with, regarding large text files that have lists of verb conjugation for my students, to use with a database of an android app.
Situation 1 There are text files where I want to switch between every 2 lines, so that line 2 goes first before line 1, and line 4 goes before line 3, and so on for the rest of the text document. I mean, instead of line 1,2,3,4,5,6 they would be 2,1,4,3,6,5,etc..
Situation 2 In other text files, I want to merge every 4 lines in one line, as follows: start with line 4, then add "-" sign, then the text of line 2, "-" sign, then the text of line 1, then a comma, then the text of line 3.
I'm sorry if that's confusing. Here is an example.
I need this:
to all become one line like this:
verb - past - past participle,meaning
Snippet of the first file:
Snippet of the second file:
Many thanks in advance for your kind help.