Your message dated Fri, 23 Dec 2005 14:22:32 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Done
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at maintonly) by bugs.debian.org; 12 Dec 2004 13:05:28 +0000
>From [EMAIL PROTECTED] Sun Dec 12 05:05:28 2004
Return-path: <[EMAIL PROTECTED]>
Received: from serrano.cc.columbia.edu [128.59.206.20] (cu41754)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CdTPj-0007Oi-00; Sun, 12 Dec 2004 05:05:28 -0800
Received: from approximate.corpus.cam.ac.uk (dialup-ccts1-86.cc.columbia.edu
[128.59.6.95])
(user=jj2085 [EMAIL PROTECTED] mech=LOGIN bits=0)
by serrano.cc.columbia.edu (8.13.0/8.13.0) with ESMTP id iBCD5OOl022193
(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
for <[EMAIL PROTECTED]>; Sun, 12 Dec 2004 08:05:26 -0500 (EST)
Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 3.35 #1)
id 1CdTNt-0004Zq-00
for [EMAIL PROTECTED]; Sun, 12 Dec 2004 08:03:33 -0500
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: coreutils: tail -q -1 doesn't work
X-Debbugs-CC: Sanjoy Mahajan <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
From: Sanjoy Mahajan <[EMAIL PROTECTED]>
Date: Sun, 12 Dec 2004 08:03:33 -0500
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.48 on 128.59.206.20
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: coreutils
Version: 5.2.1-2
Severity: minor
File: /usr/bin/tail
The -q option (to suppress filename headers) seems to confuse the
parsing of -1 (last line only), although using -n 1 instead of -1
seems to help. In the example below, a and b are empty files.
$ tail -1 a b
==> a <==
==> b <==
$ tail -1 -q a b
tail: cannot open `-q' for reading: No such file or directory
==> a <==
==> b <==
$ tail -n 1 -q a b
$ tail -q -1 a b
tail: invalid option -- 1
Try `tail --help' for more information.
$ tail -q -n 1 a b
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.27-200412041
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages coreutils depends on:
ii libacl1 2.2.23-1 Access control list shared library
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
-- no debconf information
---------------------------------------
Received: (at 285307-done) by bugs.debian.org; 23 Dec 2005 13:23:12 +0000
>From [EMAIL PROTECTED] Fri Dec 23 05:23:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mailservice.tudelft.nl ([130.161.131.5])
by spohr.debian.org with esmtp (Exim 4.50)
id 1Epmt5-0004zb-Qx
for [EMAIL PROTECTED]; Fri, 23 Dec 2005 05:23:12 -0800
Received: from localhost (localhost [127.0.0.1])
by rav.antivirus (Postfix) with ESMTP id E41682330AA
for <[EMAIL PROTECTED]>; Fri, 23 Dec 2005 14:22:40 +0100 (CET)
Received: from 82-171-132-56.dsl.ip.tiscali.nl (x084.decis.nl [130.161.177.84])
by mx2.tudelft.nl (Postfix) with ESMTP id 1FE802330AF
for <[EMAIL PROTECTED]>; Fri, 23 Dec 2005 14:22:39 +0100 (CET)
Received: from [127.0.0.1] (localhost [127.0.0.1])
by 82-171-132-56.dsl.ip.tiscali.nl (Postfix) with ESMTP id 5D99EBFA67
for <[EMAIL PROTECTED]>; Fri, 23 Dec 2005 14:22:33 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 23 Dec 2005 14:22:32 +0100
From: Thomas Hood <[EMAIL PROTECTED]>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Done
X-Enigmail-Version: 0.92.1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at tudelft.nl
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no
version=2.60-bugs.debian.org_2005_01_02
$ tail -n 1 a b
==> a <==
==> b <==
$ tail -n 1 -q a b
$ tail -q -n 1 a b
$ tail --version
tail (GNU coreutils) 5.93
Copyright (C) 2005 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.
$ tail -1 a b
tail: invalid option -- 1
Try `tail --help' for more information.
$ tail -1 -q a b
tail: invalid option -- 1
Try `tail --help' for more information.
$ tail -q -1 a b
tail: invalid option -- 1
Try `tail --help' for more information.
The -<number> syntax is no longer accepted.
--
Thomas Hood
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]