Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

dynamic zcat and grep

by clmcshque (Initiate)
on Mar 21, 2006 at 21:40 UTC ( #538316=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    zcat file.gz | grep "Joe Sinclair" > output.txt
    
  2. or download this
    my $filename = "file.gz";
    my $reg1 = "Joe Sinclair";
    ...
            print $line if($line =~ /$reg2/);
    }
    close(INFILE);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://538316]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-09-23 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (218 votes), past polls