[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tail -f problem
From: |
Jim Meyering |
Subject: |
Re: tail -f problem |
Date: |
Mon, 07 Sep 2009 23:22:04 +0200 |
Eric Blake wrote:
> According to Jim Meyering on 9/7/2009 2:48 PM:
>> This seems small and safe enough that
>> I'm leaning toward including it in coreutils-7.6,
>> but I'll wait for a second opinion and/or review.
>>
>> +** POSIX conformance
>> +
>> + tail -f now ignores "-" when stdin is a pipe or FIFO, per POSIX.
>> + Now, : | tail -f terminates immediately. Before, it'd block indefinitely.
>> + [the old behavior dates back to the original implementation]
>
> Let's spell out the abbreviation ("it'd" is colloquial; using "it would"
> sounds better). Beyond that, I didn't see anything wrong in the review
> (either coding-wise, or compliance-wise).
Thanks for the review.
I prefer "it would", too and wrote that, at first, but that
made it a little too long ;-)
Adjusted:
** POSIX conformance
tail -f now ignores "-" when stdin is a pipe or FIFO, per POSIX.
Now, :|tail -f terminates immediately. Before, it would block indefinitely.
[the old behavior dates back to the original implementation]