Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
The stupid question is the question not asked
 
PerlMonks  

Re: Detect common lines between two files, one liner from shell

by stephen (Priest)
on Dec 13, 2000 at 18:31 UTC ( [id://46465]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Detect common lines between two files, one liner from shell

To add insult to injury, you could do this:
perl -ne '@foo[10]="print"; eval( $foo[ substr( ( $seen{$_} .= @ARGV), + -2)])' file1 file2
Adding just that extra bit of obscurity to make it completely byzantine...

stephen

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46465]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.