Path: utzoo!attcan!uunet!spool.mu.edu!sol.ctr.columbia.edu!caen!umich!sharkey!tygra!dave From: dave@tygra.UUCP (David Conrad) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Seeking "smarter" UUDECODE.C type utility Summary: Will you settle for .PAS? Message-ID: <1991Feb1.070051.26557@tygra.UUCP> Date: 1 Feb 91 07:00:51 GMT References: <1991Jan22.020001.15847@ashtate> Organization: Moore Software, Detroit, MI Lines: 50 In article <1991Jan22.020001.15847@ashtate> tomr@ashtate (Tom Rombouts) writes: > >Has anyone made a modified UUDECODE that will skip through >"junk" between sections of multi-part posts? Essentially, I >can easily save several files to a large text file on disk. >However, I then have to go in and edit out the various >"cut here" or "snip - snip" lines (and any other extra "junk" >between pieces) before I can then UUDECODE it. > I have a program written in Turbo Pascal 5.5 which filters out all lines in a file not between lines beginning with: "BEGIN--cut" and "END--cut" (cbip) "-------------- Part" and "---------- End" (SIMTEL20) "--- start" and "--- end" (??? Did I get this from garbo.uwasa.fi, Timo?) Note that another problem with storing all parts in one file is that you can't verify the brik checksums. I store each part in a separate file, brik -cv them, then concatenate and cut them, then uudecode and looz. I would be more than happy to release cut to the public domain. If you want to post cut.exe, Bill, email me. If you aren't Bill Davidson and you want to see the program here, email him and tell him (that way *his* mailbox gets flooded and not *mine*...heh heh heh). If there's enough interest, I'll also post the source to comp.lang.pascal. > 3. Ignore the "starting with M" rule on the final > line, which I belive is indicated after "begin" how many > encoded lines there are. > The number after "begin" does NOT indicate how many encoded lines there are, but there will probably be eighteen other posts telling what it *does* mean. It is an invariant "644" in the three versions of uuencode I have, and I've only run into one uuencoded file with a different number ever (it was "600"). I think it's a version number. >Tom Rombouts Torrance 'Tater tomr@ashtate.A-T.com V:(213)538-7108 David Conrad tygra!dave@uunet.uu.net tygra!dave@sharkey.cc.umich.edu (If at first you don't succeed, be persistant and creative, as we are having some problems lately with email to this site.) -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave@DDMI.COM