bug-coreutils
[Top][All Lists]
Advanced

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

Re: tail "-f" option fails two ways in version 5.93


From: Jim Meyering
Subject: Re: tail "-f" option fails two ways in version 5.93
Date: Thu, 10 Nov 2005 07:46:30 +0100

Jeff Kinz <address@hidden> wrote:
> I may have found a bug in tail.
...
> address@hidden src]# ./tail -4 -f /etc/passwd
> ./tail: invalid option -- 4
> Try `./tail --help' for more information.

It's not a bug.  `-4' uses what we call the obsolescent
(aka, old but portable) option syntax.
Here are two ways to do what you want:

  tail -4f FILE
  tail -n 4 -f FILE




reply via email to

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