Bug 455830

Summary: tail does not accept +N option
Product: [Fedora] Fedora Reporter: Need Real Name <allenlorenz>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-18 07:34:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2008-07-18 05:08:22 UTC
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 07:34:55 UTC
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.