Unix, Linux, JBoss, Websphere, Ant, Python, Oracle DB, Arduino, Raspberry Pi.
perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' file1 file2