From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 21 09:40:06 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 721B416A420 for ; Wed, 21 Dec 2005 09:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 080E643D5A for ; Wed, 21 Dec 2005 09:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBL9e587081537 for ; Wed, 21 Dec 2005 09:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBL9e54W081536; Wed, 21 Dec 2005 09:40:05 GMT (envelope-from gnats) Date: Wed, 21 Dec 2005 09:40:05 GMT Message-Id: <200512210940.jBL9e54W081536@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Anatoli Klassen" Cc: Subject: Re: bin/90687: [patch] side effect of -delete option of find(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anatoli Klassen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 09:40:06 -0000 The following reply was made to PR bin/90687; it has been noted by GNATS. From: "Anatoli Klassen" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/90687: [patch] side effect of -delete option of find(1) Date: Wed, 21 Dec 2005 10:34:26 +0100 (CET) > In your example above ... > > - "b" & "d" are found due to "-type l" criteria, > - information about "a" is returned, instead of "b", due to "-L" > option > - file information about "a" is suppressed as it is not a link, > - information about "d" is returned as it is a link and and the > linked file does not exist. > - in the end, all you have is "d" in the output. Exactly. But not try to add the -delete option - both "b" and "d" will be deleted, not only "d".