4 of 4 deleted 43 characters in body

Compare two logs line by line and show differences and if the order of words from a line are not the same

I Don't need a tool I need an implemetation/alghorithm :) I need to make a shellscript because I can't install anything on the server


She has 123 apples
George 18 years is old
Florin it's leaving
Michael it's not here
Peter is smiling


She has 132 apples
George is 18 years old
Michael it's not here
Peter is smiling
He is sleeping

Desired output:

diff is at:
line 1 : 123 instead of 132
line 2 : 18 years is instead of is 18 years
lines missing:
He is sleeping
lines added:
line 3: Florin it's leaving