Red Hat Bugzilla – Bug 455830
tail does not accept +N option
Last modified: 2008-07-18 03:34:55 EDT
Description of problem:
The tail program does not process the +N option.
Version-Release number of selected component (if applicable):
The tail program given a +N option (i.e. tail +5 file ), should print out
the contents of file starting from line 5. This works under other distrubtion
of linux, and is correctly documented in the man page.
Steps to Reproduce:
1. tail +5 file
tail: cannot open `+5' for reading: No such file or directory
contents of file starting from line 5
Thanks for report, however you are wrong - this works unlike with upstream under
other distribution of Linux. Additionally - man pages are not relevant
documentation for coreutils - as you can see on every single man page that you
should use info pages. You can read more about that change of behaviour at
upstream faq (
). Restoration of old (it is against latest POSIX specifications) is possible
with setting _POSIX2_VERSION=199209 in environment - you can do that via export
or via `alias tail="_POSIX2_VERSION=199209 tail"`. Closing NOTABUG.