Bug 193079 - tail +2 doesn't work like it does under FC4
Summary: tail +2 doesn't work like it does under FC4
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-25 00:09 UTC by Jason Haar
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-05-25 08:56:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Haar 2006-05-25 00:09:53 UTC
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-25 01:39:55 UTC
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 08:56:06 UTC
Alternatively, use the current syntax: tail -n +2


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