Created
July 24, 2014 09:35
-
-
Save cainanyang/9904dbd490a6f7c4d48a to your computer and use it in GitHub Desktop.
common lines of two sorted file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' file1 file2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment