View Single Post
  #5 ()
JanoNease : I have two text files. Each text file (Text File A and Text File B) contains a large number of usernames. One username is on each line. I've alphabetized all the entries. Some entries do appear multiple times in each file.

I want to print all the entries from Text File A that are on Text File B. IOne clarification: if entry "pig" appears 5 times in Text File A and 3 times in Text File B, I would like to print "pig" 5 times.

1) Is there any program/web site that you know of that will allow me to do this easily?

2) If there isn't, please give me some general guidance (2-3 sentences) on how to go about doing this. I am much more experienced than an amateur programmer, so just a little nudge in the right direction would work.

If 1) is yes, no need to answer 2)
  Reply With Quote