bug-coreutils
[Top][All Lists]
Advanced

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

Re: FW: +N option in tail command


From: Eric Blake
Subject: Re: FW: +N option in tail command
Date: Wed, 11 Nov 2009 06:01:27 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to נחשון ישורון/Nachshon Yeshurun on 11/11/2009 12:11 AM:
> Hello
> 
> Man pages for the tail command shows the ability to use the +N option.

No, the man pages mention the ability to use the option -n+N.

In fact, because that was so confusing, it has recently been changed.  If
you were to upgrade to coreutils 8.0, you'd see this instead:

  -n, --lines=K            output the last K lines, instead of the last 10;
                           or use -n +K to output lines starting with the Kth

to try to reduce the confusion between the option (-n) and the argument to
the option (+K).

> Is this a bug?

No.  And it is a FAQ:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr6tacACgkQ84KuGfSFAYBmVQCfcnhDNfwVaDc3YO7Y2ky0WVUf
ZIQAnREALS8rnmCkDNJM7JSvjc4vhOz+
=gcyd
-----END PGP SIGNATURE-----




reply via email to

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