Re: [racket] unpacking tarballs

2010-09-02 Thread Eli Barzilay
On Sep 2, Neil Van Dyke wrote: > > .plt files are mime encoded gziped tars AFAIK. > > ".plt" files are base64'd and gzip'd, but I think that's not a > conventional tar format they're using. [...] They're *very* different from tar archives. > For picking apart a tarball, the options I see are:

Re: [racket] unpacking tarballs

2010-09-02 Thread Neil Van Dyke
.plt files are mime encoded gziped tars AFAIK. ".plt" files are base64'd and gzip'd, but I think that's not a conventional tar format they're using. (For another implementation of reading ".plt" files, you can see function "quack-pltfile-decode-buffer" in Quack.) For picking apart a tarb

Re: [racket] unpacking tarballs

2010-09-02 Thread Noel Welsh
.plt files are mime encoded gziped tars AFAIK. There is a function called unmztar in setup/unpack.rkt that probably untars. However it is not provided by that module. Probably the best thing to do is write your own based on that code. HTH, N. On Wed, Sep 1, 2010 at 1:04 AM, Ryan Golbeck wrote: .

[racket] unpacking tarballs

2010-08-31 Thread Ryan Golbeck
Hi all again, In the documentation I find functions for creating tar files (http://docs.racket-lang.org/file/tar.html?q=tar#%28def._%28%28lib._file/tar..rkt%29._tar%29%29), but none for unpacking them. Is anyone aware of some library functions for unpacking tarballs? Thanks, -ryan __