in reply to pure perl unzip

A long while ago, I made up a distribution for a Tk program I was writing that had graphic files, modules, configuration files, documentation and all kinds of crap and it worked under a variety of Unix platforms. For the life of me, I can't find this code! Ugh!

What I do remember is the thought processes behind it, and I'll outline here:

If you don't need a lot of compression, this might be something to look into. As I remember I was less worried about compression than I was about bundling and basically re-implemented shar(1) in Perl.

Replies are listed 'Best First'.
Re: Re: pure perl unzip
by belg4mit (Prior) on Dec 17, 2001 at 20:57 UTC
    Did I hear shar in perl ? ;-)

    --
    perl -p -e "s/(?:\w);([st])/'\$1/mg"

Re: Re: pure perl unzip
by belg4mit (Prior) on Dec 17, 2001 at 21:38 UTC
      Turns out that Huffman isn't quite meant for production code, but I'm working on it and will post when done.

      --
      perl -p -e "s/(?:\w);([st])/'\$1/mg"