Your message dated Sun, 13 Nov 2005 13:10:42 -0500
with message-id <[EMAIL PROTECTED]>
and subject line changes to test man page
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 submit) by bugs.debian.org; 8 Sep 2004 07:55:03 +0000
>From [EMAIL PROTECTED] Wed Sep 08 00:55:03 2004
Return-path: <[EMAIL PROTECTED]>
Received: from tornado.dat.etsit.upm.es (dat.etsit.upm.es) [138.100.17.73]
by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
id 1C4xIF-0006KY-00; Wed, 08 Sep 2004 00:55:03 -0700
Received: (qmail 1612 invoked by uid 1013); 8 Sep 2004 07:55:01 -0000
Date: Wed, 8 Sep 2004 09:55:01 +0200
From: Javier =?iso-8859-1?Q?Fern=E1ndez-Sanguino_Pe=F1a?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: coreutils: Test manpage improvements (-e, -w and -x)
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040722i
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: coreutils
Priority: wishlist
Version: 5.2.1-2
Tags: patch upstream
(Note: I'm CCing [email protected], if this is not the appropiate way
to forward upstream, please bear with me)
The description of how -e behaves is somewhat ambiguous in test's manpage.
The manpage says that it will return true if the FILE exists but, for
symbolic links it will only return true if the FILE it points to exists:
-----------------------------
$ touch test
$ ln -s test testl
$ [ -e testl ] && echo true
true
$ rm test
$ [ -e testl ] && echo true
-----------------------------
Other manpage improvements in the patch include those present in *BSDs
manpages [1] and related to -w and -x.
Maybe the manpage could be ammended (see the patch attached).
If the manpage is reviewed maybe it's worth reviewing also Debian
bug #230957 (I can't understand why it is tagged 'wontfix' by the Debian
maintainer)
Regards
Javier
[1]
http://www.openbsd.org/cgi-bin/man.cgi?query=test&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
PS: It looks like *BSDs resolve this ambiguity by having -e return true if
the file exists regardless of its type. However a change to this behaviour
will probably break a lot of stuff that depend on it.
---------------------------------------
Received: (at 270594-done) by bugs.debian.org; 13 Nov 2005 18:10:48 +0000
>From [EMAIL PROTECTED] Sun Nov 13 10:10:48 2005
Return-path: <[EMAIL PROTECTED]>
Received: from vms042pub.verizon.net ([206.46.252.42])
by spohr.debian.org with esmtp (Exim 4.50)
id 1EbMJU-0004ml-4G
for [EMAIL PROTECTED]; Sun, 13 Nov 2005 10:10:48 -0800
Received: from osgiliath.mathom.us ([70.108.64.202])
by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep
9 2005)) with ESMTPA id <[EMAIL PROTECTED]> for
[EMAIL PROTECTED]; Sun, 13 Nov 2005 12:10:43 -0600 (CST)
Received: from localhost (localhost [127.0.0.1])
by osgiliath.mathom.us (Postfix) with ESMTP id AEB266031E0 for
<[EMAIL PROTECTED]>; Sun, 13 Nov 2005 13:10:42 -0500 (EST)
Received: from osgiliath.mathom.us ([127.0.0.1])
by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id 20028-01 for <[EMAIL PROTECTED]>; Sun,
13 Nov 2005 13:10:42 -0500 (EST)
Received: by osgiliath.mathom.us (Postfix, from userid 1000)
id 815BB60049B; Sun, 13 Nov 2005 13:10:42 -0500 (EST)
Date: Sun, 13 Nov 2005 13:10:42 -0500
From: Michael Stone <[EMAIL PROTECTED]>
Subject: changes to test man page
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-disposition: inline
X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us
User-Agent: Mutt/1.5.11
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Version: 5.93-1
upstream coreutils incorporates the new language, package in debian
version 5.93-1
Mike Stone
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]