[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tail weirdness
From: |
Igor Rivin |
Subject: |
tail weirdness |
Date: |
Tue, 6 Feb 2007 08:32:27 -0500 |
On my Fedora core 6 system, this fails:
address@hidden tmp]$ tail +2 dog
tail: cannot open `+2' for reading: No such file or directory
==> dog <==
dfsdf
sdfdsfds
dfd
dfsdf
adsfsdf
tail --version shows:
address@hidden tmp]$ tail --version
tail (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim
Meyering.
The effect can, of course, be gotten by tail --lines=+2 dog,
but I do not need to tell you that this is a horrible incompatible
change (which, for me, breaks about 10% of my scripts). Perhaps this
is some transient lossage, and there is a better/newer version out
there?
- tail weirdness,
Igor Rivin <=