Comparing lines in two files
Posted on 2007-11-13
I have two lists, we'll call them list1.txt and list2.txt. They are a list of server names. I need to compare list1.txt to list2.txt and tell which servers are missing from list2.txt. I know this should be easy but I'm getting a brain lock on it. If you can just get me pointed in the right direction that would be great! The files are simple. Here are some examples.
In these examples, I want to print out a difference file that says S02ASERVE2 is missing from list1.txt.