Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site genrad.UUCP Path: utzoo!decvax!genrad!sources-request From: sources-request@genrad.UUCP Newsgroups: mod.sources Subject: The Connoisseur's Shar, version 2 Message-ID: <541@genrad.UUCP> Date: Thu, 20-Dec-84 09:58:47 EST Article-I.D.: genrad.541 Posted: Thu Dec 20 09:58:47 1984 Date-Received: Fri, 21-Dec-84 06:38:09 EST Sender: john@genrad.UUCP Lines: 31 Approved: john@genrad.UUCP From: bd@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, 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@BERKELEY ihnp4!hpfcla!hpda!bd Hewlett-Packard Co. 11000 Wolfe Road Cupertino, CA 95014