5 use IO::Uncompress::Bunzip2 qw($Bunzip2Error);
7 die "Usage: gzgrep pattern [file...]\n"
13 @ARGV = '-' unless @ARGV ;
15 foreach $file (@ARGV) {
16 my $gz = new IO::Uncompress::Bunzip2 $file
17 or die "Cannot uncompress $file: $Bunzip2Error\n" ;
23 die "Error reading from $file: $Bunzip2Error\n"