Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この perl ワンライナーは、2 つのファイルに共通する行をどのように表示しますか?
perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' file1 file2