SHELL ARCHIVER recommendation soclicited

Byron Rakitzis byron at archone.tamu.edu
Tue Jun 25 18:06:12 AEST 1991


In article <1991Jun25.055549.26282 at noose.ecn.purdue.edu> luj at gus17.ecn.purdue.edu (Jun Lu) writes:
>There are quite a few free versions/flavors of shell archivers floating
>around. Which one do you use ? Which do you recommend ? Comparisons of
>efficiecy(small, fast) v.s. portability are welcomed ?  Any other facts are
>also appreciated. If there is sufficient interest, I'll post a summary.

This archiver has never failed me:

(btw, it was originally written in sh, then translated into rc. It is based
on the bundle(s) described in K&P)

#!/bin/rc
# bundle: group files into distribution package

echo '#' to unbundle, sh this file
echo '#' bundled by `whoami on `hostname at `date

echo '#' contents of bundle:
for (i)
	echo '#' $i

for (i) {
	echo echo $i
	echo 'sed ''s/^-//'' > '$i' <<''end of '$i''''
	sed 's/^/-/' $i
	echo end of $i
}
--
Byron Rakitzis
byron at archone.tamu.edu



More information about the Comp.unix.questions mailing list