bin/90687: [patch] side effect of -delete option of find(1)
Anatoli Klassen
anatoli at aksoft.net
Wed Dec 21 01:40:06 PST 2005
The following reply was made to PR bin/90687; it has been noted by GNATS.
From: "Anatoli Klassen" <anatoli at aksoft.net>
To: FreeBSD-gnats-submit at 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".
More information about the freebsd-bugs
mailing list