Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Parse a tar.gz file without unzipping and uncompressing unzipping?

by ww (Archbishop)
on Dec 03, 2010 at 20:32 UTC ( [id://875269]=note: print w/replies, xml ) Need Help??


in reply to Parse a tar.gz file without unzipping and uncompressing unzipping?

I have several thousand bottles of adult beverages I'd like to drink without removing the tops.

Google hasn't told me how to do that, either.

Using pipes or other devices may spare you (in the best cases) a bit of time writing the unzipped file to disk, but it won't do diddly about reducing unzip and untar times.

  • Comment on Re: Parse a tar.gz file without unzipping and uncompressing unzipping?

Replies are listed 'Best First'.
Re^2: Parse a tar.gz file without unzipping and uncompressing unzipping?
by rizzy (Sexton) on Dec 03, 2010 at 21:13 UTC
    You may not be able to drink the beverages without removing the tops, but you can surely look inside and describe the contents. Google it.

      It's a bit difficult to tell a solution of HCl from plain water or thinner or Everclear et cetera without opening the bottle. And that's assuming the bottle isn't opaque or colored. Google me. I mean, uh, what was I saying?

        What you're saying, I think, is that the title and question fail to recognize the difference between the basic required step of "decompressing something" and the extended sequence of "extracting files from an archive and writing them to disk".

        You simply can't read plaintext without doing the work of decrypting and/or unzipping the original file, because you don't HAVE the plaintext until you do. It sounds to me like "how can I avoid the use of temp files and the slowness of the HDD?" is the real question here.

        It would be quick and easy to do so using spectroscopy. We could go on and on with this ... ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://875269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found