🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #41328

Re: joining comp.mac.binaries parts

#41328
From: goldfarb
Date: Sun, 23 Apr 1989 15:18
26 lines
1412 bytes
>>I dont get it.  The things came from unix in the first place, and
>>unix has this neat tool (I no its too sophisticated for the Mac :-) ) 
>>called cat.
>
>  It's easy enough to catenate files together; the problem is in removing
>file headers, extraneous lines like "-- End of part 23 --", etc. so BinHex
>won't choke. This processing can be done on the un*x box prior to transfer,

Big deal.  I just use the following script:


#! /bin/sh
#
cat $* | sed -e '/(This file/b<done>
	1,/^---/ d
	/^---/,/^---/ d
	/^---/,$ d
	:<done>' | xbin -

---
Sure, there are some data dependencies, but I've never had it not work!
------------------------------------------------------------------------------
Ben Goldfarb				uucp: {decvax,peora}!ucf-cs!goldfarb
University of Central Florida		Internet: goldfarb@hcx9.ucf.edu
Department of Computer Science		BITNET: goldfarb@ucf1vm.BITNET
Technical Details
Message-ID: <2600020@hcx9>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!indri!unmvax!tut.cis.ohio-state.edu!rutgers!att!codas!flnexus!pcsi!peora!ucf-cs!hcx9!goldfarb
References: <42011@csvax1.cs.tcd.ie>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!indri!unmvax!tut.cis.ohio-state.edu!rutgers!att!codas!flnexus!pcsi!peora!ucf-cs!hcx9!goldfarb
From: goldfarb@hcx9.UCF.EDU
Newsgroups: comp.sys.mac
Subject: Re: joining comp.mac.binaries parts
Message-ID: <2600020@hcx9>
Date: 23 Apr 89 15:18:00 GMT
References: <42011@csvax1.cs.tcd.ie>
Lines: 26
Nf-ID: #R:csvax1.cs.tcd.ie:-4201100:hcx9:2600020:000:877
Nf-From: hcx9.UCF.EDU!goldfarb    Apr 23 11:18:00 1989