[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
doc
/
perl-IO-Compress
/
io
/
gzip
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 gzappend
399 B
SET
[ EDIT ]
|
[ DEL ]
📄 gzcat
498 B
SET
[ EDIT ]
|
[ DEL ]
📄 gzgrep
796 B
SET
[ EDIT ]
|
[ DEL ]
📄 gzstream
515 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: gzcat
#!/usr/bin/perl use IO::Uncompress::Gunzip qw( $GunzipError ); use strict ; use warnings ; #die "Usage: gzcat file...\n" # unless @ARGV ; my $file ; my $buffer ; my $s; @ARGV = '-' unless @ARGV ; foreach $file (@ARGV) { my $gz = new IO::Uncompress::Gunzip $file or die "Cannot open $file: $GunzipError\n" ; print $buffer while ($s = $gz->read($buffer)) > 0 ; die "Error reading from $file: $GunzipError\n" if $s < 0 ; $gz->close() ; }