Code: Select all
inFile.txt insertFile.txt
LIST TO_BE_INSERTED_LIST
==== ===================
Tom Oh! No
Dick Not Again
Harry
Tarzan
Jane
1. If LIST = 'Harry' Then insert the records from insertFile.TO_BE_INSERTED_LIST to inFile.txt, such that the output looks like-
Code: Select all
OUTLIST
=======
Tom
Dick
Harry
Oh! No
Not Again
Tarzan
Jane
gateleys