GNU bug report logs - #9370
"tail -f -1" should work

Previous Next

Package: coreutils;

Reported by: Eli the Beareded <gnu-bugs <at> panix.com>

Date: Thu, 25 Aug 2011 06:22:01 UTC

Severity: wishlist

Full log


Message #14 received at 9370 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Eli the Beareded <gnu-bugs <at> panix.com>, 9370 <at> debbugs.gnu.org
Subject: Re: bug#9370: "tail -f -1" should work
Date: Tue, 13 Sep 2011 14:18:03 +0200
tags 9370 notabug wishlist
thanks

Paul Eggert wrote:
> On 08/24/11 23:15, Eli the Beareded wrote:
>> On any other system I have used the -NUM option can be used with
>> the -f option to specify how many lines of the file as-is to print
>> before starting to follow it for updates.
>
> The interaction between -NUM and other options is so complicated
> and unportable (different editions of the POSIX standards
> disagree!) that GNU 'tail' is fairly conservative about where it
> allows -NUM.  It might be nice to add support for your particular usage,
> if someone wants to write the code, but it'll require some care to make
> sure it doesn't run afoul of existing usage or standard in some other way.
>
> In the meantime I suggest using "tail -f -n NUM", as that's standard
> and portable these days.

I've marked this as a wishlist item.




This bug report was last modified 13 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.