bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tail -f and tail --follow=name in pipe


From: Ernst Kloppenburg
Subject: Re: tail -f and tail --follow=name in pipe
Date: Wed, 5 Dec 2001 21:50:12 +0100
User-agent: Mutt/1.3.18i

On Wed, Dec 05, 2001 at 11:05:34 +0100, Jim Meyering wrote:
> Ernst Kloppenburg <address@hidden> wrote:
> > I am using 'tail' from textutils 2.0-6 on a Debian GNU/Linux system.
> >
> > When tail is used in a pipe, it behaves strangely when the option
> > --follow=name is given. The behaviour I found strange is illustrated by the
> > following example:
> >
> > 1) tail -f /var/log/syslog | wc
> >    when wc is terminated by kill <pid>, the tail program exits the next time
> >    a line is written to the file followed. This makes sense, because at this
> >    time it is detekted that the pipe is broken.
> >
> > 2) tail --follow=name /var/log/syslog | wc
> >    in this case, when wc is killed, the tail command never terminates
> 
> Thanks for the report.
> I can't reproduce that using the latest test release on the same
> type of system.  Would you please try it?
> 

Hello,

before downloading and trying your test release I installed a more recent
version of textutils from debian/testing (the debian package is version
2.0-11). It does *not* show the problem described above.

I had not tried this in the first place because there is only a difference
in the debian package version after the dash, but not in the upstream
version (still 2.0). Maybe I should have done it first...

Thus it seems, the problem is already fixed in the debian package and in
your alpha version.

Thanks, E. Kloppenburg

-- 
Ernst Kloppenburg
Stuttgart, Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]