Re: [PATCH] rm: new option (-d) to remove empty directories
From:
Krzysztof Goj
Subject:
Re: [PATCH] rm: new option (-d) to remove empty directories
Date:
Mon, 13 Aug 2012 23:17:03 +0200
Hi,
This January I've submitted a patch adding a -d flag to rm which
allowed it to remove empty directories, same as BSD rm does. I lacked
a FSF assignment back then, which I have for some time now (RT:
721463; I can send the pdf). Here's the original thread in archive for
those who want more context:
http://lists.gnu.org/archive/html/coreutils/2012-01/msg00111.html
I've rebased my patch against current master and fixed the tests as
Jim Meyering have suggested. New patch is attached, it can also be
viewed at GitHub:
https://github.com/goj/coreutils/commit/rm-d
Best regards,
--
Krzysztof