Thread: Perl Script
View Single Post
Old Nov 11th, 2004, 9:25 PM   #5
satimis
Newbie
 
Join Date: Oct 2004
Posts: 17
Rep Power: 0 satimis is on a distinguished road
Hi kurifu,

Tks for your advice and URL.

Quote:
You could open both files the same time
I'll check it with following command

$ perl compare.sh doc_a.txt doc_b.txt

or something similar.

Quote:
foreach line, foreach word, if its different, highlight it. This would solve the problem of "one inserted word" would break the program. But this also would break if they added a new line.
Any hint to start the script;

1) on line checking
2) on words cheching

TIA

B.R.
satimis
satimis is offline   Reply With Quote