Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!acornrc!bob From: bob@acornrc.UUCP (Bob Weissman) Newsgroups: comp.sys.ibm.pc Subject: Re: Zmodem for Unix and VAX/VMS, part 1of4 Message-ID: <739@acornrc.UUCP> Date: 29 Apr 88 15:19:12 GMT References: <7778@brl-smoke.ARPA> <4737@teddy.UUCP> Organization: Acorn Research Center, Palo Alto, CA Lines: 25 Summary: No, no; just 'cat' them together In article <4737@teddy.UUCP>, jpn@teddy.UUCP (John P. Nelson) writes: > the code that splits files across shar archives is broken. It happily > splits if/else/fi constructs across shar files, meaning that you get > "sh" syntax errors at the start and end of every archive file that has > a split file! > > To get these files to unarchive, add the lines "echo xxx", and "fi" > just after the last SHAR_EOF of Parts 1, 2, and 3; then delete the > line "fi" after the first SHAR_EOF in parts 2, 3, and 4. Then > extract as usual. OK, the guy made a mistake. But you didn't really need to edit anything; just concatenating the 4 parts together makes everything work fine. I.e., % cat shar.1 shar.2 shar.3 shar.4 > shar.good % sh shar.good -- Bob Weissman Internet: bob@acornrc.uucp UUCP: ...!{ ames | decwrl | oliveb | apple }!acornrc!bob Arpanet: bob%acornrc.uucp@ames.arc.nasa.gov