Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!att!pacbell.com!ucsd!celit!fpssun!mbn From: mbn@fpssun.fps.com (Mike Northam ext 2651) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Why are postings NOT in shar form Message-ID: <11180@sns4.fps.com> Date: 5 Dec 90 16:32:35 GMT References: <3415@ns-mx.uiowa.edu> Reply-To: mbn@fpssun.fps.com (Mike Northam ext 2651) Organization: FPS Computing, Beaverton,OR Lines: 32 In article <3415@ns-mx.uiowa.edu> williams@umaxc.weeg.uiowa.edu.UUCP (Kent Williams) writes: [munch] | | 1. Save each part in a different file, with a common stem -- e.g. if | foo.zoo gets posted in 5 parts, save foo1, foo2, foo3, foo4, foo5. | | 2. Run the following script over foo* : | | #!/bin/sh | echo unpacking from $* to `grep begin $1` | cat $* | sed '/END--/,/BEGIN--/d' | uudecode | | for example, if the above happens to be called unpack, then do | | unpack foo* | | If you have more than 10 parts, you have to be craftier, since the | wild card expansion in the shell will put the parts out of order, | since they get sorted in dictionary, rather than numeric, order, so | you have to do | | unpack foo[0-9] foo1[0-9] foo2[0-9] etc. ... | If you save into filenames foo01 ... foo10 foo11, etc., you can just say unpack foo* as the sorting order will be correct. -- Mike Northam mbn@fpssun.fps.com Home:123 11' 40"W 45 37' 14"N (503) 641-3151 x2651 {tektronix}!fpssun!mbn *FPS Computing has a company spokesperson, and it's certainly not me* "Every now and then things become clear." Jane Siberry, "The Walking"