Bug 187479

Summary: tail no longer support +lines option
Product: [Fedora] Fedora Reporter: Adam <adam>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: alan, meyering, steve.t.armstrong
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-31 04:23:33 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Adam 2006-03-31 04:19:35 EST
Description of problem:
The tail command no longer takes the +lines option to print lines starting
relative to the beginning of the file instead of the end.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. echo -e "abc\ndef\nghi" | tail +2
Actual results:
tail: cannot open `+2' for reading: No such file or directory

Expected results:

Additional info:
This works as expected for FC4 coreutils-5.2.1-48.1
Comment 1 Tim Waugh 2006-03-31 04:23:33 EST
Please read the info page about Standards Conformance:

  info coreutils 'Standards Conformance'

In particular, you can re-enable this '+2' behaviour by setting an environment

  For example, if you have a newer system but are running
  software that assumes an older version of POSIX and uses `sort +1' or
  `tail +10', you can work around any compatibility problems by setting
  `_POSIX2_VERSION=199209' in your environment.
Comment 2 Ignacio Vazquez-Abrams 2006-04-03 00:03:15 EDT
*** Bug 187713 has been marked as a duplicate of this bug. ***
Comment 3 Tim Waugh 2006-11-14 05:34:57 EST
*** Bug 215366 has been marked as a duplicate of this bug. ***