You do it the other way round: first you read the smaller file into a hash. Then you open the bigger file, check for each ID if it exists in the hash and only print if it does not.
In reply to Re: a one-liner for this trivial problem?
by hdb
in thread a one-liner for this trivial problem?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |