[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coproc usage ... not understanding
From: |
Chet Ramey |
Subject: |
Re: Coproc usage ... not understanding |
Date: |
Tue, 09 Aug 2011 20:05:13 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 |
On 8/3/11 4:11 PM, Linda Walsh wrote:
> I've searched for coproc usage examples on the web, but there aren't
> many, and the few I found, while working for their test case, didn't
> fully replicate my setup, so it didn't work.
>
>
> Ideas?
>
>
> What am I doing wrong?
You're probably running into grep (and sort, and sed) buffering its
output. I haven't been able to figure out a way past that.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/