Bug 455830 - tail does not accept +N option
tail does not accept +N option
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
9
All Linux
low Severity low
: ---
: ---
Assigned To: Ondrej Vasik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-18 01:08 EDT by Need Real Name
Modified: 2008-07-18 03:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-18 03:34:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2008-07-18 01:08:22 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.

How reproducible:

   always.

Steps to Reproduce:
1.  tail +5 file
2.
3.
  
Actual results:
tail: cannot open `+5' for reading: No such file or directory


Expected results:

 contents of file starting from line 5

Additional info:
Comment 1 Ondrej Vasik 2008-07-18 03:34:55 EDT
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 (
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails
 ). 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.

Note You need to log in before you can comment on or make changes to this bug.