On Fri, 26 Mar 1999, Harald Hanche-Olsen wrote:

> + Vince Vielhaber <[EMAIL PROTECTED]>:
> 
> | ... and if so, why?  What am I missing?
> | 
> | I have a .qmail-test containing this:
> | |/usr/local/bin/822header > header && cat > body && exit 99
> | ./file
> 
> 822header reads too far.  It reads whole blocks of some specific
> number of characters until it finds the end of the headers, printing
> what it found.
> 
> If your example were to work, 822header would have to read the file
> one byte at a time, so it could stop as soon as the header is
> finished.  I think it might be useful if the program would do this, at
> least optionally.

Yeah, that makes sense.  Actually, tho, since it's only the body I 
wanted I used 822header.c and modified it to be 822body.c.  Works
like a charm :)

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================


Reply via email to