[racket] un-tarring and un-zipping files?

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Oct 18 16:28:50 EDT 2010

About a minute ago, Danny Yoo wrote:
> How do I untar or unzip the files produced by the zip and tar
> modules?  I've been staring at:
> 
>     http://docs.racket-lang.org/file/tar.html
>     http://docs.racket-lang.org/file/zip.html
> 
> I can create archives perfectly well: it's the decompression step
> that I'm clueless about.

The resulting zip/tar/tgz files should be unpackable by the standard
tools.  (There is no racket code that does that, since creating a
standard archive is easy, but parsing one runs into problems due to
incompatibilities of these archives.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.