This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 193079

Summary: tail +2 doesn't work like it does under FC4
Product: [Fedora] Fedora Reporter: Jason Haar <jhaar>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: meyering
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: 2006-05-25 04:56:06 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Jason Haar 2006-05-24 20:09:53 EDT
Description of problem:

coreutils-5.93-7.2 contains tail-5.93, and the man page states that "tail +N" 
should still be a valid command. But it doesn't work anymore (like on older
systems). "tail --lines=+2" does work - but "tail +2" doesn't

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


How reproducible:

everytime

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

Expected results:

to see all of the file except for the first two lines

Additional info:
Comment 1 Hann-Huei Chiou 2006-05-24 21:39:55 EDT
Read the online version of the Release Notes
(http://fedora.redhat.com/docs/release-notes/fc5/#id2947041).
You can have the old behavior by setting _POSIX2_VERSION=199209 in your environment
Comment 2 Tim Waugh 2006-05-25 04:56:06 EDT
Alternatively, use the current syntax: tail -n +2