Re: Regression: "find dir/. -type d -empty -delete" claims 'unsuccessful', breaking scripts.

2013-11-23 Thread Linda Walsh
On 20/11/2013 17:56, Dmitry V. Levin wrote: On Wed, Nov 20, 2013 at 04:47:38PM -0800, Linda Walsh wrote: On 18/11/2013 16:29, Dmitry V. Levin wrote: On Mon, Nov 18, 2013 at 03:55:52PM -0800, Linda A. Walsh wrote: In coreutils 8.21-7.1.3. It has been standard to use "." in a directo

Re: Regression: "find dir/. -type d -empty -delete" claims 'unsuccessful', breaking scripts.

2013-11-20 Thread Linda Walsh
On 18/11/2013 16:29, Dmitry V. Levin wrote: On Mon, Nov 18, 2013 at 03:55:52PM -0800, Linda A. Walsh wrote: In coreutils 8.21-7.1.3. It has been standard to use "." in a directory to mean it's contents on a recursive or copy (compare cp -al src/. dst/.). However, "find dir/. -type d -empty -d

Re: Regression: "find dir/. -type d -empty -delete" claims 'unsuccessful', breaking scripts.

2013-11-18 Thread Linda Walsh
On 18/11/2013 20:04, Eric Blake wrote: On 11/18/2013 06:20 PM, Linda Walsh wrote: >>> However, "find dir/. -type d -empty -delete" works, but exits with >>> a failure code causing scripts to break. >>> >> This behavior is required by POSIX.

Re: Regression: "find dir/. -type d -empty -delete" claims 'unsuccessful', breaking scripts.

2013-11-18 Thread Linda Walsh
On 18/11/2013 16:15, Eric Blake wrote: On 11/18/2013 04:55 PM, Linda A. Walsh wrote: In coreutils 8.21-7.1.3. It has been standard to use "." in a directory to mean it's contents on a recursive or copy (compare cp -al src/. dst/.). However, "find dir/. -type d -empty -delete" works, but

Re: Regression: "find dir/. -type d -empty -delete" claims 'unsuccessful', breaking scripts.

2013-11-18 Thread Linda Walsh
They don't require it for the case of "find ."? or cp -al a/. b/. ? Are you saying we need an alternate core utils?