4 deleted 43 characters in body
source | link

Could someone help me with this in Linux:

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

f2.txt

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

f1.txt

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

Could someone help me with this in Linux:

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

f2.txt

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

f1.txt

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

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

f2.txt

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

f1.txt

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
    Post Closed as "duplicate" by αғsнιη, sebasth, Stephen Rauch, Archemar, Romeo Ninov of
3 added 59 characters in body
source | link

Could someone help me with this in Linux:

 

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

f2.txt

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

f1.txt

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

Could someone help me with this in Linux:

 

f2.txt

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

f1.txt

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

Could someone help me with this in Linux:

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

f2.txt

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

f1.txt

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
2 deleted 46 characters in body
source | link

Could someone help me with this in linux ?
Linux:

f2.txt

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

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

f1.txt
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

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

Could someone help me with this in linux ?
f2.txt

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

f1.txt
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

Could someone help me with this in Linux:

f2.txt

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

f1.txt

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
1
source | link