in reply to a one-liner for this trivial problem?
perl -pie ' BEGIN { open $fh, "<" , "littlefile" or die "Cannot read file"; our %hash = map { $_ => 1} <$fh>; } print if not $hash{$_}; ' < bigfile
All the above will go on one line. any minor bugs are your problem (chomps may be needed for example) :-)
|
|---|