Y
Yoda Pugsley
Hello,
I need to read the name of a file inside a .gz. I know it should be the
zipped name - .gz, but the filenames are long and truncated sometimes. In
perl, what is the command to read the gzip -l into a variable? Something
like
my ($filename)
$filename == gzip -l ~/cdr/file.gz
will that work, or something like it?
Thanks,
JH
I need to read the name of a file inside a .gz. I know it should be the
zipped name - .gz, but the filenames are long and truncated sometimes. In
perl, what is the command to read the gzip -l into a variable? Something
like
my ($filename)
$filename == gzip -l ~/cdr/file.gz
will that work, or something like it?
Thanks,
JH