Re: shell pipeline bug

1999-11-12 Thread Andy Farkas
> Simplified example: > > sh -c "jot 6000 | cat | head" Not knowing what jot(1) was, I read the man page. The synopsis says: SYNOPSIS jot [-cnr] [-b word] [-w word] [-s string] [-p precision] [reps [begin ^ [end

Re: shell pipeline bug

1999-11-12 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > On Fri, 12 Nov 1999, Martin Cracauer wrote: > > > In <[EMAIL PROTECTED]>, Bruce Evans wrote: > > > `man sh' now hangs when the pager is exited. This is caused by the recent > > > change to sh/eval.c > > > > My fix in 1.23 of eval.c was broken, but

Re: shell pipeline bug

1999-11-12 Thread Bruce Evans
On Fri, 12 Nov 1999, Martin Cracauer wrote: > In <[EMAIL PROTECTED]>, Bruce Evans wrote: > > `man sh' now hangs when the pager is exited. This is caused by the recent > > change to sh/eval.c > > My fix in 1.23 of eval.c was broken, but Steve repaired it in 1.24. > > Do you have 1.24? Yes, of

Re: shell pipeline bug

1999-11-12 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > `man sh' now hangs when the pager is exited. This is caused by the recent > change to sh/eval.c My fix in 1.23 of eval.c was broken, but Steve repaired it in 1.24. Do you have 1.24? Martin -- %%%

shell pipeline bug

1999-11-12 Thread Bruce Evans
`man sh' now hangs when the pager is exited. This is caused by the recent change to sh/eval.c Simplified example: sh -c "jot 6000 | cat | head" hangs. This example is almost minimal. The size of the data written by the first command must be large enough to not fit in the pipe; the middle