I have to compare the contents of two files and the output should be a report which should give the text that is present in file1 and not in file2 and vice versa. Which logic can i use to implement the same??
"This is a site for perl questions.Really helpful!!!"
"This is a site where you get your perl queries cleared.Really helpful!!!"
The output should be:
"for perl questions." - present in file 1 but not in file 2
"where you get your perl queries cleared." - present in file 2 but not in file 1
How to achieve this???