bug-coreutils
[Top][All Lists]
Advanced

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

Re: tail -1 * has unexpected output


From: steve+dated+1205686402 . 816dc9
Subject: Re: tail -1 * has unexpected output
Date: Tue, 11 Mar 2008 12:53:19 -0400 (EDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm running version 5.97:


(2) address@hidden Tue 10:48am  [~] % 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 weird thing is that 'tail -1 z.1' works, but 'tail -1 z.1 z.2' errors. If the form "-1" is depreciated, shouldn't it fail for the single file invocation also?

I'll grab version 6.10 and check it out.  Thanks.

- - Steve

On Fri, 7 Mar 2008, Bob Proulx wrote:

Date: Fri, 7 Mar 2008 21:01:47 -0700
From: Bob Proulx <address@hidden>
To: address@hidden
Cc: address@hidden
Subject: Re: tail -1 * has unexpected output

address@hidden wrote:
tail: invalid option -- 1

What version of tail are you using?

 tail --version

If it is older than 5.90 please upgrade.  Your report implies that you
are probably running 5.2.1 from 2004.  This behavior was changed in
coreutils 5.90 in 2005.  The current stable release version is 6.10.

Here is the latest release information:

 http://lists.gnu.org/archive/html/coreutils-announce/2008-01/msg00001.html

Bob



- -- EMAIL: (h) address@hidden WEB: http://badcheese.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH1rkBuiLvK4h2TGkRAi5RAJ9iDjW3MgbpfOkKKUSsX1seYAjlJgCcCLOA
s7x59C0K8iy9G4NRiTv4ZlY=
=Hk2J
-----END PGP SIGNATURE-----




reply via email to

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