Shell packer


   1. Purpose
   2. Example
   3. Copying
   4. Downloading

1. Purpose

Give Shellpack lines of text, and shellpack compresses them to a minimal count of command line expressions needed to evaluate to the specified parameters.

2. Example

An example data set:
bisqwit@mist:~/src/shellpack$ grep sfnet ~bisqwit/.snewsrc|head -n 5|sed 's/:.*//'            
sfnet.atk.ohjelmointi
sfnet.atk.ohjelmointi.moderoitu
sfnet.atk.ohjelmointi.alkeet
sfnet.tiede.matematiikka
sfnet.tiede.fysiikka
Compressing:
bisqwit@mist:~/src/shellpack$ grep sfnet ~bisqwit/.snewsrc|head -n 5|sed 's/:.*//'|./shellpack
sfnet.{atk.ohjelmointi{,.alkeet,.moderoitu},tiede.{fys,matemat}iikka}
Testing:
bisqwit@mist:~/src/shellpack$ for s in sfnet.{atk.ohjelmointi{,.alkeet,.moderoitu},tiede.{fys,matemat}iikka};do echo "$s";done
sfnet.atk.ohjelmointi
sfnet.atk.ohjelmointi.alkeet
sfnet.atk.ohjelmointi.moderoitu
sfnet.tiede.fysiikka
sfnet.tiede.matematiikka
So yep, it works. It sorts the input while doing that, too.

3. Copying

shellpack has been written by Joel Yliluoma, a.k.a. Bisqwit,
and is distributed under the following terms:
* No warranty. You are free to modify this source and to
* distribute the modified sources, as long as you keep the
* existing copyright messages intact and as long as you
* remember to add your own copyright markings.
* You are not allowed to distribute the program or modified versions
* of the program without including the source code (or a reference to
* the publicly available source) and this notice with it.

4. Downloading

Downloading help

  • Do not download everything - you only need one file (newest version for your platform)!
  • Do not use download accelerators or you will be banned from this server before your download is complete!

Date (Y-md-Hi) acc        Size Name                
2010-0603-0834 r--       12109 shellpack-3.1.0.2.tar.bz2
2010-0603-0834 r--       11461 shellpack-3.1.0.2.tar.gz
2010-0603-0834 r--       12093 shellpack-3.1.0.1.tar.bz2
2010-0603-0834 r--       11463 shellpack-3.1.0.1.tar.gz
2006-0928-2215 r--       11227 shellpack-3.1.0.tar.bz2
2006-0928-2215 r--       10745 shellpack-3.1.0.tar.gz
2006-0928-2215 r--        4442 patch-shellpack-3.0.0-3.1.0.bz2
2006-0928-2215 r--        4446 patch-shellpack-3.0.0-3.1.0.gz
2006-0928-1329 r--       11159 shellpack-3.0.0.tar.bz2
2006-0928-1329 r--       10710 shellpack-3.0.0.tar.gz
2006-0928-1329 r--       14986 patch-shellpack-2.0.2-3.0.0.bz2
2006-0928-1329 r--       14769 patch-shellpack-2.0.2-3.0.0.gz
2006-0928-1329 r--       13045 patch-shellpack-2.0-3.0.0.bz2
2006-0928-1329 r--       12638 patch-shellpack-2.0-3.0.0.gz
2002-0514-1454 r--        8897 shellpack-2.0.2.tar.bz2
2002-0514-1454 r--        3905 patch-shellpack-2.0.1-2.0.2.bz2
2002-0410-0221 r--        7192 shellpack-2.0.1.tar.bz2
2002-0410-0221 r--        5685 patch-shellpack-2.0-2.0.1.bz2
2001-0704-0255 r--        3296 shellpack-2.0.rar
2001-0704-0255 r--        3483 shellpack-2.0.tar.bz2
2001-0704-0255 r--        3618 shellpack-2.0.zip
2001-0704-0255 r--        3017 patch-shellpack-1.1-2.0.bz2
2001-0703-2256 r--        2309 shellpack-1.1.rar
2001-0703-2256 r--        2532 shellpack-1.1.tar.bz2
2001-0703-2256 r--        2622 shellpack-1.1.zip
2001-0703-2256 r--        1511 patch-shellpack-1.0-1.1.bz2
2000-0823-1440 r--        2159 shellpack-1.0.rar
2000-0823-1440 r--        2371 shellpack-1.0.tar.bz2
2000-0823-1440 r--        2468 shellpack-1.0.zip
Back to the source directory index at Bisqwit's homepage