Re: [pcre-dev] RFE -- switch to operate in 'unbuffered mode'…

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Linda Walsh
CC: pcre-dev
Subject: Re: [pcre-dev] RFE -- switch to operate in 'unbuffered mode' for use ininteractive pipes
On Wed, 24 Mar 2010, Linda Walsh wrote:

> I use pcre in interactive use more often than not, and
> it's buffering is a pain in a pipe -- only blatting out output after it
> collects a buffer --


Er, sorry, that doesn't make sense. PCRE is just a regex-matching
library. It doesn't do any input/output. You must be using some program
that calls PCRE.

Ah, perhaps you are using pcregrep?

> Could it flush lines after each is processed upon being given a
> To-Be-Added Switch?


I guess something along those lines could be done. Noted. Indeed, when
checking GNU grep I see that it automatically does that, so perhaps
pcregrep should be compatible.

Philip

--
Philip Hazel