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);