Nate Eldredge wrote:
sh prog1 tmpfile
tail -f -c +0 tmpfile | sh prog2
BTW, I don't think this would solve my problem as tail -f would block
waiting for more data, as would prog2, so after prog1 finishes writing
data they would block indefinitely on input. I forgot to mention this
was
Imagine this shell pipeline:
sh prog1 | sh prog2
As given above, prog1 blocks if prog2 hasn't yet read previously written
data (actually, newline separated commands) or is busy. What I want is
for prog1 to never block:
sh prog1 | buffer | sh prog2
I first thought that the aptly named
On Wed, 5 Nov 2008, rihad wrote:
Imagine this shell pipeline:
sh prog1 | sh prog2
As given above, prog1 blocks if prog2 hasn't yet read previously written
data (actually, newline separated commands) or is busy. What I want is
for prog1 to never block:
sh prog1 | buffer | sh prog2
[and
On 2008-Nov-05 17:40:11 +0400, rihad [EMAIL PROTECTED] wrote:
Imagine this shell pipeline:
sh prog1 | sh prog2
As given above, prog1 blocks if prog2 hasn't yet read previously written
data (actually, newline separated commands) or is busy. What I want is
for prog1 to never block:
sh prog1 |
Nate Eldredge wrote:
On Wed, 5 Nov 2008, rihad wrote:
Imagine this shell pipeline:
sh prog1 | sh prog2
As given above, prog1 blocks if prog2 hasn't yet read previously written
data (actually, newline separated commands) or is busy. What I want is
for prog1 to never block:
sh prog1 | buffer
Peter Jeremy wrote:
On 2008-Nov-05 17:40:11 +0400, rihad [EMAIL PROTECTED] wrote:
Imagine this shell pipeline:
sh prog1 | sh prog2
As given above, prog1 blocks if prog2 hasn't yet read previously written
data (actually, newline separated commands) or is busy. What I want is
for prog1 to
6 matches
Mail list logo