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

Attachment: rm-d.patch
Description: Binary data

Reply via email to