Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!samsung!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!WSMR-SIMTEL20.ARMY.MIL!w8sdz From: w8sdz@WSMR-SIMTEL20.ARMY.MIL (Keith Petersen) Newsgroups: comp.binaries.ibm.pc.d Subject: Combine script for multiple-part uuencoded files from LISTSERV Message-ID: Date: 14 Dec 89 22:49:00 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Lines: 35 Brian Vanlandingham writes: > Would it be possible for you to post something on how to concatenate > multi part uuencoded binaries received from LISTSERV. The problem I'm > having (an other people, judging from some of the posting on usenet) > is that the much beloved 'combine' script we've been using to get > binaries posted via newsgroups doesn't know how to deal with them > because individual parts on the LISTSERV files lack a 'BEGIN' line. > thanks. The following Unix shell script "lcombine" is functionally the same as the comp.binaries.ibm.pc "combine" script. Use it to uudecode multiple-part uuencoded files received from LISTSERV (or TRICKLE in Europe). #! /bin/sh cat $* | sed '/--- End /,/--- Part/d' | uudecode Save that as an executable shell script called "lcombine". Assuming you have saved the multiple-part uuencoded files in a logical manner, such as: simibm.uue1, simibm.uue2, simibm.uue3 invoke the script like this: lcombine simibm.uue* It will combine all the pieces together, skipping everything between the dashed lines with "End" and "Part", and feed the result to uudecode. Keith -- Keith Petersen Maintainer of SIMTEL20's CP/M, MSDOS, & MISC archives [IP address 26.2.0.74] Internet: w8sdz@WSMR-SIMTEL20.Army.Mil, w8sdz@brl.arpa BITNET: w8sdz@NDSUVM1 Uucp: {ames,decwrl,harvard,rutgers,ucbvax,uunet}!wsmr-simtel20.army.mil!w8sdz