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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to