self-extractor?

John Abreau jabr at thurien.bcs.org
Tue Feb 20 03:48:21 EST 1996


Rodney Thayer <rodney at sabletech.com> writes:
>> does anyone know of a self-extracting tool for the Unix world?  I want to
>> create an executable that does the same sort of thing as self-extracing ZIP
>> or ARJ archives do in the PC world.
>> 
>> I want something that is distribution-neutral...

Try a SHAR archive containing a uuencoded gzipped tar file...

   #! /bin/sh
   cat > foo.uu << \SHAR_EOF
   begin 666 foo.tar.gz
   M...a...bunch...of...uuencoded...data...
   M...a...bunch...of...uuencoded...data...
   M...a...bunch...of...uuencoded...data...
   SHAR_EOF
   exit 0

--
John Abreau / Director, BCS Linux & Unix User Group / jabr at bcs.org
The Boston Computer Society / 101 First Avenue / Waltham, MA 02154
Voice +1 617 290 5700 / Fax +1 617 290 5744 / http://www.bcs.org




More information about the Discuss mailing list