Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!mcnc!unc!steele From: steele@unc.cs.unc.edu (Oliver Steele) Newsgroups: comp.sys.mac Subject: Re: Stuffit & BinHex Message-ID: <1913@unc.cs.unc.edu> Date: Fri, 6-Nov-87 11:40:32 EST Article-I.D.: unc.1913 Posted: Fri Nov 6 11:40:32 1987 Date-Received: Sun, 8-Nov-87 15:15:47 EST References: <466@ndmath.UUCP> Reply-To: steele@unc.UUCP (Oliver Steele) Organization: University of North Carolina, Chapel Hill Lines: 50 milo@ndmath.UUCP (Greg Corson) writes: >Also...does anyone have a program that will take multiple parts of a BINHEX >posting and put them together? I've put a little shellscript that tries to do this at the end of this posting. It's slower than bhcomb and combine (the c programs posted recently), but not by much, and it's dumber but seems more reliable. >Also, if anyone has a version of the >MACBIN unix program that will allow you to use * to wildcard multiple files >that would be great. Or still better, a version of binhex that creates >macbinary files directly. I'm not sure quite what you're asking for. nxbin will unbinhex multiple files if you put more than on one the command line; it's easy enough to fix the other unbinhexers to do this with something like foreach i (*) xbin $i end but nothing will catenate the parts of multi-part postings correctly in a single step. But I thought binhex DID create macbinary files directly. ------------------------------------------------------------------------------ Oliver Steele ...!{decvax,ihnp4}!mcnc!unc!steele steele%unc@mcnc.org "But remember, it's never too late to take Swahili." -- Peter Wolfenden xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-Cut Here-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #! /bin/csh -f # File: cmb # Author: Oliver Steele # Date: 15 Oct 87 # Purpose: combine multiple BinHex files # Usage: cmb foo.? > foo.hqx set script = /tmp/comb$$ onintr exit cat > $script << EOF BEGIN {FS = "\0";} length == 64 /^\(This file must/ /:\$/ EOF awk -f $script $* exit: rm -f $script