I need to design a script which can do the following:
I have two files abc.txt and constant.hmtl
abc.txt contains some 5 string that I need to see if they exist in contants.html.
Constants.hmtl is a very large file around 800 lines.
I want to search all the strings present in file abc.txt, and see if they are present in constant.html
What is not clear (and so how to design...)
abc.txt contains 5 strings, OK but only? and how? 5 lines?
Searching in second file is just a question of reading line per line until EOF...
But how do you want it to treat the finding of the strings?
One option is to enumerate the presence of the found strings if any...