bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tail +N apparent error.


From: Jan-Pawel Wrozstojnik
Subject: Tail +N apparent error.
Date: Fri, 09 Oct 2009 01:52:26 -0700


According to

        tail --help

  -n, --lines=N            output the last N lines, instead of the last
10;
                           or use +N to output lines starting with the
Nth

Yet, when I tried:

        tail +2 FILENAME

I got:

        tail: cannot open `+2' for reading: No such file or directory
        ==> FILENAME <==
        [File contents from first line]


On every other UNIX on which I've tried it,   tail +N  works as
described.

It's hard for me to imagine that such an error got released; is there
something I overlooked?

Incidentally, the form:

        tail --lines=+2 FILENAME

displayed as expected.

If this is an error, please fix ASAP.

Thanks,
JPW

-- 
Jan-Pawel Wrozstojnik <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]