Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 09:40:05 GMT
From:      "Anatoli Klassen" <anatoli@aksoft.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/90687: [patch] side effect of -delete option of find(1)
Message-ID:  <200512210940.jBL9e54W081536@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/90687; it has been noted by GNATS.

From: "Anatoli Klassen" <anatoli@aksoft.net>
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".
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512210940.jBL9e54W081536>