bug-coreutils
[Top][All Lists]
Advanced

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

bug#9370: "tail -f -1" should work


From: Paul Eggert
Subject: bug#9370: "tail -f -1" should work
Date: Thu, 25 Aug 2011 11:48:45 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

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.





reply via email to

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