Path: utzoo!attcan!utgpu!watmath!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.binaries.ibm.pc.d Subject: combine script (was Re: More silence in comp.binaries.ibm.pc) Message-ID: <24170@iuvax.cs.indiana.edu> Date: 2 Aug 89 15:52:52 GMT References: <8472@bsu-cs.bsu.edu> <2487@astroatc.UUCP> Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante) Organization: malkaryotic Lines: 26 <8472@bsu-cs.bsu.edu> dhesi@bsu-cs.bsu.edu (Rahul Dhesi) : -< archive. E.g., for a three-part posting, save it in files -< called "part01", "part02", and "part03", and then give the -< command: -< -< combine part01 part02 part03 brown@astroatc.UUCP (Vidiot) <2487@astroatc.UUCP> : -Since when has the combine script become "lazy"? A long time ago a better -combine script was posted. It works much nicer, especially on programs with -MANY parts. Who wants to type in the names of all 11 pieces :-) So, attached Actually, I find that I can save the various parts into the SAME file (as long as I keep them in order, that is important) (rn lets me append very easily). Then the original combine script happily pulls all the correct parts out of the one file and uudecodes that. Another possibility is using wildcard expansion, which on the system I use generates the names in "correct" order. Viz., "combine thing.part*" where I have thing.part01 through thing.part99. Here's the original again, for people who missed it: #! /bin/sh cat $* | sed '/^END/,/^BEGIN/d'| uudecode