Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!rti!dg-rtp!gamecock!hagins From: hagins@gamecock.rtp.dg.com (Jody Hagins) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Why are postings NOT in shar form Message-ID: <1990Dec5.174220.28949@dg-rtp.dg.com> Date: 5 Dec 90 17:42:20 GMT References: <1717@syteke.be> <3415@ns-mx.uiowa.edu> Sender: usenet@dg-rtp.dg.com (Usenet Administration) Reply-To: hagins@gamecock.rtp.dg.com (Jody Hagins) Organization: Data General Corporation, Research Triangle Park, NC Lines: 57 In article <3415@ns-mx.uiowa.edu>, williams@umaxc.weeg.uiowa.edu (Kent Williams) writes: |> In article <1717@syteke.be> jim@syteke.be (Jim Sanchez) writes: |> >I may have missed something a long while back but it seems odd that |> >all the binary postings in this group seem to require editing to |> >remove the headers/etc. Given that most (I assume) are reading |> >and posting news from *NIX type machines, why don't the uuencoded |> >files get wrapped up so a simple sh will expose them. |> >-- |> First of all, they are generally too big to pass undigested through |> some of the mail relays. Second of all, Unix isn't universal -- I |> used to get my news through PARTI on a Prime via BITNET. |> |> If you're on a Unix box, I have a simple method for getting postings |> saved in order: |> |> 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. ... |> or save as foo01, foo02, foo03, ..., foo09, foo10, ... |> |> |> -- |> Kent Williams --- williams@umaxc.weeg.uiowa.edu |> "'Is this heaven?' --- 'No, this is Iowa'" - from the movie "Field of Dreams" |> "This isn't heaven, ... this is Cleveland" - Harry Allard, in "The Stupids Die" |> -- Jody Hagins hagins@gamecock.rtp.dg.com Data General Corp. 62 Alexander Dr. RTP, N.C. 27709 (919) 248-6035