My requirement goes this way, i need to insert new comment lines into a file. Pasted below is an example.
Inputfile:-
TEST1
TEST2
TEST3
TEST2
TEST3
Outputfile:-
FIELD
VALUE
TEST1
END OF FIELD
FIELD
VALUE
TEST2
END OF FIELD
FIELD
VALUE
TEST3
END OF FIELD
VALUE
TEST1
END OF FIELD
FIELD
VALUE
TEST2
END OF FIELD
FIELD
VALUE
TEST3
END OF FIELD
I just want to insert three new lines.
Can someone provide me the sort card in achieving the above.
Thanks in advance!!