Your message dated Sat, 11 Jun 2005 14:56:49 +0200
with message-id <[EMAIL PROTECTED]>
and subject line reportbug: dubious behaviour of '-o' operator in 'find'
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; 21 May 2003 12:35:52 +0000
>From [EMAIL PROTECTED] Wed May 21 07:35:51 2003
Return-path: <[EMAIL PROTECTED]>
Received: from bonacci.pisa.iol.it [193.76.233.84]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19ISox-00059n-00; Wed, 21 May 2003 07:35:51 -0500
Received: from giuseppe by bonacci.pisa.iol.it with local (Exim 3.36 #1
(Debian))
id 19ISrN-0001do-00; Wed, 21 May 2003 14:38:21 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: giuseppe bonacci <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: reportbug: dubious behaviour of '-o' operator in 'find'
X-Mailer: reportbug 2.10.1
Date: Wed, 21 May 2003 14:38:20 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: peppe <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-6.0 required=4.0
tests=BAYES_01,HAS_PACKAGE
version=2.53-bugs.debian.org_2003_05_20
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_20
(1.174.2.15-2003-03-30-exp)
Package: reportbug
Version: 2.10.1
Severity: normal
Tags: upstream
according to the man-page and info, the expected output from the
following find commands should be identical:
myhost# ls -lRgoF
.:
total 4
drwxr-xr-x 2 4096 May 21 12:51 b/
-rw-r--r-- 1 0 May 21 12:51 c
./b:
total 0
-rw-r--r-- 1 0 May 21 12:51 d
myhost# find . -name b -prune -o -type f -print
./c
myhost# find . -name b -prune -o -type f # ABNORMAL
./b
./c
myhost# find . \( -name b -prune \) -o \( -type f -print \)
./c
-- Package-specific info:
** /home/giuseppe/.reportbugrc:
reportbug_version "2.10.1"
mode standard
ui text
realname "giuseppe bonacci"
email "[EMAIL PROTECTED]"
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bonacci 2.4.20-1-686 #1 Sat Mar 22 13:16:21 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages reportbug depends on:
ii python2.2 2.2.2-6 An interactive object-oriented scr
ii python2.2-optik 1.4.1-1 advanced command-line parsing libr
-- no debconf information
---------------------------------------
Received: (at 194160-done) by bugs.debian.org; 11 Jun 2005 12:56:55 +0000
>From [EMAIL PROTECTED] Sat Jun 11 05:56:55 2005
Return-path: <[EMAIL PROTECTED]>
Received: from m26s25.vlinux.de [83.151.30.59]
([jEyR8DmRfAS4vpvMbknQ+1r06CX6rV9Q])
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Dh5Xj-0002aY-00; Sat, 11 Jun 2005 05:56:55 -0700
Received: from adsl-048.236.166.194.arpa.as1901.net
([194.166.236.48] helo=argenau.downhill.at.eu.org
ident=[/U7FkcxnvqwNwiKi6Muk8iFO3BLVP0sj])
by m26s25.vlinux.de with esmtpa (Exim 4.50)
id 1Dh5V6-0002vT-Ua
for [EMAIL PROTECTED]; Sat, 11 Jun 2005 12:54:15 +0000
Received: from ametzler by argenau.downhill.at.eu.org with local (Exim 4.50)
id 1Dh5Xd-0001Vk-PD
for [EMAIL PROTECTED]; Sat, 11 Jun 2005 14:56:49 +0200
Date: Sat, 11 Jun 2005 14:56:49 +0200
From: Andreas Metzler <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: reportbug: dubious behaviour of '-o' operator in 'find'
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57 EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.9i
X-Spam-Score: -2.6 (--)
Delivered-To: [EMAIL PROTECTED]
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-Status: No, hits=-2.0 required=4.0 tests=BAYES_01 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
On 2003-05-21 giuseppe bonacci <[EMAIL PROTECTED]> wrote:
[...]
> according to the man-page and info, the expected output from the
> following find commands should be identical:
> myhost# ls -lRgoF
> .:
> total 4
> drwxr-xr-x 2 4096 May 21 12:51 b/
> -rw-r--r-- 1 0 May 21 12:51 c
> ./b:
> total 0
> -rw-r--r-- 1 0 May 21 12:51 d
> myhost# find . -name b -prune -o -type f -print
> ./c
> myhost# find . -name b -prune -o -type f # ABNORMAL
[...]
Hello,
As previously noted these two command should not generate the same
output, the latter is equivalent to:
find . \( -name b -prune -o -type f \) -print
(The documention says "If the expression contains no actions other
than -prune, -print is performed on all files for which the expression
is true." which is different from "append -print to the given
commandline.)
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]