tail compat: fix header printing for tail -f
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 14 Oct 2013 18:11:55 +0000 (20:11 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 16 Oct 2013 13:02:50 +0000 (15:02 +0200)
commit64938011f3ba06a8f425926397172dc361bce851
treed3e406ab6e54d9235b6f7e9e03534d3ef064260a
parent840ef17f63c85044c15d9a38a13c6539e26dfc31
tail compat: fix header printing for tail -f

Makes tail -f for multiple files display the header only if another (ie. not
currently displayed) file changed.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
TODO
coreutils/tail.c