[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exit
From: |
jozef . kutej |
Subject: |
Re: exit |
Date: |
Wed, 4 Feb 2004 13:33:45 +0100 |
User-agent: |
Mutt/1.4.1i |
Look at this:
address@hidden:~$ awk 'BEGIN { "date" | getline date; print date; system("sleep
2"); "date" | getline date; print date }'
Wed Feb 4 13:27:36 CET 2004
Wed Feb 4 13:27:36 CET 2004
address@hidden:~$ awk 'BEGIN { "date" | getline date; print date; system("sleep
2"); "date -u" | getline date; print date }'
Wed Feb 4 13:27:48 CET 2004
Wed Feb 4 12:27:50 UTC 2004
This is probaby the same problem with descriptors. If i use two times the
same command through pipe i receive the same result. :(
Jozef
PS: i'm GMT+1
On Tue, Feb 03, 2004 at 03:48:45PM +0200, Aharon Robbins wrote:
> What you've found is a bug. I'll work on it. In terms of recovering
> the fd once a pipe exits, that's also on my list of things to do.
>
> Thanks,
>
> Arnold
>
- exit, jozef . kutej, 2004/02/03
- Re: exit,
jozef . kutej <=
- Re: exit, Aharon Robbins, 2004/02/04
- Re: exit, Aharon Robbins, 2004/02/05