did tail semantics change?

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

 



I think I found a bug in GNU tail. What do you folks think?

I have some shell scripts that were written by a third party in 2002 or so.

There are these two commands:

head -219554 tokenized > ../eng.train
tail +219555 tokenized > ../eng.testa

The first one works on F7; the second one errors out:
tail: cannot open `+219555' for reading: No such file or directory

This is supposed to be valid syntax: "If any option-argument is a number n
starting with a ‘+’, tail begins printing with the nth item from the start of
each file, instead of from the end."
http://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html

So, bug or no bug? And is it just funny on F7 or can you repro it elsewhere?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux