/ Published in: Perl
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh tail -n5000 somefile | perl -ne "print $_ if /$1/i && /$2/i && /$3/i && /$4/i && /$5/i;"
URL: http://code.cshaiku.com/code_perl_keyword_search.php