Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!decwrl!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!zaphod!liberte From: liberte@zaphod.ncsa.uiuc.edu Newsgroups: comp.sys.mac Subject: Re: Why are files divided in .binaries? Message-ID: <600006@zaphod> Date: 20 Apr 88 20:16:00 GMT References: <2854@saturn.ucsc.edu> Lines: 41 Nf-ID: #R:saturn.ucsc.edu:2854:zaphod:600006:000:1083 Nf-From: zaphod.ncsa.uiuc.edu!liberte Apr 20 14:16:00 1988 > /* Written 7:22 pm Apr 16, 1988 by avalon@ssyx.ucsc.edu in zaphod:comp.sys.mac */ > Why is it that files posted to comp.sys.mac.binaries and sumex.aim > are divided in to smaller files? Because mailers cannot handle large files. > Earlier today, I downloaded VisionLab > from sumex.aim, and tried to unbinhex it with Stuffit 1.31, but Stuffit > hung in never never land. Stuffit's binhexing and unbinhexing are flacky. It binhexes differently from other binhexers. It seems to be able to unbinhex any format, except that if there is any error, it hangs. I dont use it for either direction. > Eventually, I had to use macwrite and cut and paste all seven files into > one file. Binhex V did not do it either. Below is my latest joiner script. Dan LaLiberte NCSA, UofI Urbana-Champaign liberte@ncsa.uiuc.edu ------------------- #! /bin/awk -f # Join the contents of files between "---" marks. # Usage: joiner input > output BEGIN { inhex = 0 } /^---/ { if (inhex && (NF > 1)) { inhex = 0 } else { inhex = 1 } getline } { if (inhex) print $0 }