I\'m trying to find similarities between both the sentences in a shell script.
have a two sentences containing duplicate words, for example, the input data in file