Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Perl script to check doc_b against doc_a for inconsistence
I'm going to make a script checking inconsistence on 2 documents, say doc_a and doc_b and have no idea how to start.
doc_b is reproduced from doc_a, (original document) not with 'copy and paste' command.
Making it simple first, as highlighted in following example, an one line document:-
Original document "doc_a"[code]Check this link to sea what scannars are supported by SANE[/code]
Already having 2 typing mistakes
The reproduced document "doc_b" must maintain these 2 mistakes for consistence.
[code]check thes link to sea what scannars are suppurted by SeNE[/code]
Unfortunately another 3 typing mistakes were further made;
What I expect to have in the printout is;[code]
Original Mistake Line No. Word No.
this thes 1 2
supported suppurted 1 9
SANE SeNE 1 11[/code]
not just printing out their contents and saying "differ"
Kindly advise how to start. TIA
0 · ·