Where do I find a Perl script to compare 2 text files & generates a third

checky

New member
one with the...? ...differences/similarities per row?
I want to be able to compare lists of words and phrases usually found in spreadsheets or in txt file; the goal is to see that is found in file1 only, what is found in file2 only, and what is found in both file1 and file2 despite the row position of the word/phrase in each file. I'll be happy to pay up to $50 for a working Perl script.
 
Autolink automatically generates a list of hyperlinks. You provide a list of htm pages (text file) and a list of page names (text file) as inputs and autolink creates an output file that contains a list of hyperlinks that you can embed in your source code.
Detail

This is a very very simple utility. It was written in ASP.NET. Its main function is to auto generate a list of hyperlinks (URLs). Recently i came across a simple project which required me to generate a list of urls for approximately 2000 files. Obviously it was a tedious task to do manually and could have wasted a lot of my precious time. I was certain that i would find a utility on the net to accomplish this simple task but to my surprise there was no such utility. After searhing internet comprehensively i found a small application that did this task but guess what, it's price was $395. So there was no solution left but to write a simple utility of my own. Code is very simple. I used streamReader class to read and write to the files. I used two files. One file contained list of pages and the other contained names of files. For example, list1 contains:

this_is_html_file1.htm
this_is_html_file2.htm
this_is_html_file3.htm

list2 contains:

this is html file1
this is html file2
this is html file3

You must be thinking that creating these files is a tedious job in itself. Yes, you are right! Its difficult to create these files manually but there is a solution to every problem and solution to our problem is using a DIR command in DOS mode. For example, folder contains 2000 files in it. How will you generate a list of files from this folder? Simple! Use following command at DOS Prompt:
 
Back
Top