Date: Thu, 20 Dec 2007 11:02:59 -0500 From: Mikhail Teterin <mi+kde@aldan.algebra.com> To: Erik Osterholm <freebsd-lists-erik@erikosterholm.org> Cc: questions@freebsd.org, "Max N. Boyarov" <m.boyarov@bsd.by> Subject: Re: tail does not exit Message-ID: <200712201102.59565@aldan> In-Reply-To: <20071220155336.GA31047@aleph.cepheid.org> References: <200712192322.lBJNMfps053071@aldan.algebra.com> <200712200540.11553@aldan> <20071220155336.GA31047@aleph.cepheid.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On четвер 20 грудень 2007, Erik Osterholm wrote: = The same behavior happens if I use a larger file. I see no = inconsistent behavior, nor any bugs. The inconsistency is in the fact, that the behavior depends on the size of the buffer and length of the lines (not the size of the file). If the 10 lines, which tail tries to output initially, exceed the size of the buffer, tail learns about awk going away immediately. If the lines are not long enough, it does not. Also, I would expect a program to be notified (by SIGPIPE?) /immediately/, when any of its output pipes are closed -- instead of waiting for it to try to write into the pipe. But this issue is not, it seems, FreeBSD-specific... -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712201102.59565>
