Subject: Re: bin/6412: find(1) logic broken
To: None <netbsd-bugs@netbsd.org>
From: Dave Sainty <dave@dtsp.co.nz>
List: netbsd-bugs
Date: 11/10/1998 02:19:17
dave writes:

> >Number:         6412
> >Category:       bin
> >Synopsis:       find(1) logic broken
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    bin-bug-people (Utility Bug People)
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Mon Nov  9 03:05:01 1998
> >Last-Modified:
> >Originator:     Dave Sainty
> >Organization:
> Dynamic Technology Services and Products Ltd (NZ)
> >Release:        sup 9/11/98 (19981109)
> >Environment:
> System: NetBSD tequila.dave.dtsp.co.nz 1.3G NetBSD 1.3G (TEQUILA) #1: Thu Aug 20 00:13:30 NZST 1998 dave@tequila.dave.dtsp.co.nz:/vol/tequila/userC/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386
> 
> 
> >Description:
> 	find logic appears to be broken

A couple of additional points:

1) This bug at least dates back to NetBSD 1.2.1

2) The bug can be avoided by never using '! ( expression )' anywhere
   in your find rule.  This is useful to know for scripts that may be
   required to run on unfixed systems.