The Connoisseur's Shar, version 2

sources-request at genrad.UUCP sources-request at genrad.UUCP
Fri Dec 21 00:58:47 AEST 1984


From: bd at hpdsb.UUCP (Bob Desinger)

[This article does not contain the source or documentation - see next article
       - john]

Here's the latest "Connoisseur's shar" and documentation.  Actually, it's an
upgrade to the Conn. Shar originally posted to net.sources a few months ago.
It runs on both Berkeley and Bell Unixes.  It has a few advantages over the
previously-posted version:

1.  You can archive a whole directory subtree via:  shar `find dir -print`
2.  The original file's permissions/modes are duplicated upon unpacking.
3.  The EOF marker is guaranteed to be unique from what's in the archive files.
4.  A timestamp and personstamp is recorded in the archive.
5.  Lines beginning with characters that mailers don't like (tildes, dots,
	ampersands) are no longer dangerous.
6.  The table-of-contents line no longer overflows your mailer's maximum line.

These features also make this a candidate for being dubbed "The Glutton's Shar"
since it takes longer to start up.  The way to fix that would be to rewrite it
in C, but that seems to take away some of its novelty.  Still, a C version may
be forthcoming (especially if someone volunteers!)....

Kudos to Dan Hoey <hoey at NRL-AIC.ARPA>, who contributed immensely to shar's
current feature set, especially the directory-recursing code.  A tip of the
Hatlo hat also to Alan Silverstein, who set shar's clear coding style and fixed
bugs in earlier versions.

Bob Desinger
ucbvax!hpda!bd		hpda!bd at BERKELEY	ihnp4!hpfcla!hpda!bd
Hewlett-Packard Co.	11000 Wolfe Road	Cupertino, CA  95014



More information about the Mod.sources mailing list