From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11400 invoked from network); 23 Dec 1999 14:06:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Dec 1999 14:06:33 -0000 Received: (qmail 1071 invoked by alias); 23 Dec 1999 14:06:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9142 Received: (qmail 458 invoked from network); 23 Dec 1999 14:03:14 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Zefram" Cc: "ZSH workers mailing list" Subject: RE: PATCH: Re: Something weird with modules aliases Date: Thu, 23 Dec 1999 17:02:46 +0300 Message-ID: <001a01bf4d4e$63c5f9d0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: > > No, and I can't reproduce it. What system are you on? What does > "sh -x ./Util/preconfig" say? > bor@itsrm2% find . \( -name '?*.*' -prune \) -o \( -name .preconfig -print \) ./.preconfig ./.preconfig ./Src/Aliases/.preconfig ./Src/Aliases/.preconfig According to my manual page, our find executes -print by default if no ather actions are specified. Unfortunately, it looks like find considers only top-level expressions. At the same time, -print is executed unconditionally. It means, that in .preconfig case it is first printed by inner -print and then by "default" missing one. This smells like a bug ... what d'you think? Do you have anything against this one? (actually, default according to precedence rules): bor@itsrm2% find . -name '?*.*' -prune -o -name .preconfig -print ./.preconfig ./Src/Aliases/.preconfig /andrej