Red Hat Bugzilla – Bug 203537
tail +n 2 su.log -> tail: cannot open `+n' for reading: No such file or directory
Last modified: 2007-11-30 17:11:41 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Description of problem:
# tail +n 2 su.log
tail: cannot open `+n' for reading: No such file or directory
tail: cannot open `2' for reading: No such file or directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. do the tail command with option +N
tail does not work
Refere to man pages:
If the first character of N (the number of bytes or lines) is a +, print beginning with the Nth item from the start of each file, otherwise, print the last N items in the file.
On FedoaraCore 4 with coreutils-5.2.1-48 -> tail works!
also AdvancedServer, Enterprise, HPUX 10.20-> 11.23, Sun, AIX -> tail works with same options...
Nearby, sort does also have a problem with the parameters!
-> All oure administrative scripts and tools fails on FC5!
*** This bug has been marked as a duplicate of 203535 ***
i mean of course: # tail +2 su.log
# uname -a
HP-UX rbgs420x B.11.11 U 9000/800 1798937691 unlimited-user license
rooteieh:root @ IgniteSrv on rbgs420x from RBG0J26C.ww011.siemens.net: 1812
[ /tmp ]
# tail +2 vginfo.txt
# tail +2 su.log
tail: cannot open `+2' for reading: No such file or directory
which is now the dublicate bug an what the real?
could you please mark one as GOOD - WORKING ONE?
*** This bug has been marked as a duplicate of 173431 ***