Subject: Re: CVS commit: src/usr.bin/find
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: SODA Noriyuki <firstname.lastname@example.org>
Date: 02/09/2007 03:47:33
>>>>> On Thu, 8 Feb 2007 13:20:36 -0500 (EST),
der Mouse <mouse@Rodents.Montreal.QC.CA> said:
> but the only difference I can see is that -delete may fail to delete
> something if fts() doesn't happen to have chosen to chdir() into its
> parent directory.
There is other difference.
i.e. The pathnames passed as find(1)'s arguments.
For example, just trace the following command:
mkdir -p /tmp/a
find /tmp/a -delete
Maybe -delete should only allow "." as its argument.
But I'm not sure.