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   
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:
Cloudforms Team: ---

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:


Steps to Reproduce:
1. tail +2
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
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