The Stack Overflow podcast is back! Listen to an interview with our new CEO.
2 of 4 deleted 46 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

Could someone help me with this in Linux:


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