Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!utcsri!greg
From: greg@utcsri.UUCP
Newsgroups: comp.lang.c
Subject: Re: stream sampler needed
Message-ID: <5066@utcsri.UUCP>
Date: Sun, 12-Jul-87 17:48:11 EDT
Article-I.D.: utcsri.5066
Posted: Sun Jul 12 17:48:11 1987
Date-Received: Sun, 12-Jul-87 18:35:58 EDT
References: <8233@brl-adm.ARPA>
Reply-To: greg@utcsri.UUCP (Gregory Smith)
Organization: CSRI, University of Toronto
Lines: 18
Summary: 

>I was wondering if anyone had any source code to sample a continous
>stream of data, throwing away (/dev/null) what wasnt sampled.  Basically
>i have a continous stream of data and I would like to wait until I
>get a specific character, and then capture the next 13 characters.

Sounds very suspicious to me.

>Any suggestions? Im trying not to re-invent the wheel or do something the
>long way....  
>
No. However, I have a program which changes all occurrences of 'n' in an odd-
numbered column of the input to 'E'. I don't need it any more, but have been
saving it in case anyone else needs it and doesn't want to re-invent the wheel.

-- 
----------------------------------------------------------------------
Greg Smith     University of Toronto      UUCP: ..utzoo!utcsri!greg
Have vAX, will hack...