display records which exist in file2 but not in file1

Posted by Phoenix on Stack Overflow See other posts from Stack Overflow or by Phoenix
Published on 2010-03-16T17:55:16Z Indexed on 2010/03/16 18:41 UTC
Read the original article Hit count: 306

log file1 contains records of customers(name,id,date) who visited yesterday log file2 contains records of customers(name,id,date) who visited today

How would you display customers who visited yesterday but not today?

Constraint is: Don't use auxiliary data structure because file contains millions of records. [So, no hashes] Is there a way to do this using Unix commands ??

© Stack Overflow or respective owner

Related posts about file-io

Related posts about programming-languages