Hi,

Wondering if some has a script to compare password files.   Both files are 
sorted.
File1.txt is the good list and File2.txt is questionable and is the system 
password file.  But File1.txt is a list of accounts that are valid and 
should exist in File2.txt.

So my wish list is to compare the two files and make sure that username and 
password match, if not output the discrepency.  Which means any user in 
File2.txt that does not exist in File1.txt should be output and 
vice-versus.  If the user exist in both Files, but password does not match, 
they should be output too.

thanks.



file1.txt and file2.txt file format:


username        password

** test are tab delimited.


Reply via email to