Public bug reported:

Binary package hint: coreutils

The tail command does not seem to accept the '+N' option to output all
lines starting from the Nth:

$ tail +2 foo.pdf
tail: cannot open `+2' for reading: No such file or directory
==> foo.pdf <==
0000004620 00000 n 
trailer
<<
/Size 10
/Info 1 0 R
/Root 2 0 R
>>
startxref
4716
%%EOF

The option's long form works:

$ tail --lines=+2 foo.pdf
<output suppressed>

Here is my Ubuntu version:

$ lsb_release -rd
Description:    Ubuntu 8.10
Release:        8.10

Here is my coreutils version:

$ apt-cache policy coreutils
coreutils:
  Installed: 6.10-6ubuntu1
  Candidate: 6.10-6ubuntu1
  Version table:
 *** 6.10-6ubuntu1 0
        500 http://ch.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
tail +N does not work as documented
https://bugs.launchpad.net/bugs/344836
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to