Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!bgsuvax!denbeste From: denbeste@bgsuvax.UUCP (William C. DenBesten) Newsgroups: comp.sys.mac Subject: Re: Stuffit 1.31 and binhex Message-ID: <1536@bgsuvax.UUCP> Date: 2 Feb 88 14:09:15 GMT References: <5123@well.UUCP> Organization: Bowling Green State University B.G., Oh. Lines: 29 In article <2794@dasys1.UUCP> raylau@dasys1.UUCP (Raymond Lau) writes: > > So, anyone care to enlighten me as to a technique of skipping over msg. > headers? I've drawn a blank with this one.. From article <5123@well.UUCP>, by mo@well.UUCP (Maurice Weitman): > > At the risk of being simplistic, isn't the colon denoting the > first line of valid data always in column 1, while header colons > never are? In addition each valid line is 64 characters long (except the last one) and contains only the 64 valid binhex characters. White space is invalid, so you can pretty much count on headers being ignored, since they always have a space after the colon or begin with a space (continuation lines). A slick method of decoding would be to ignore any lines that don't fit these criteria. If you get a CRC error, then display the discarded lines to the user, so that they have a chance to figure out what the problem is. This would allow multiple parts to be processed together. > (Thanks for Stuffit, Ray.) --- William C. DenBesten | CSNET denbeste@research1.bgsu.edu Dept of Computer Science | UUCP ...!cbosgd!osu-cis!bgsuvax!denbeste Bowling Green State University | Bowling Green, OH 43403-0214 |