[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] rm --directory (-d)
From: |
pwplusnick2 |
Subject: |
[PATCH] rm --directory (-d) |
Date: |
Fri, 5 Mar 2010 23:08:40 -0600 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello again,
I have finally completed my --directory (-d) feature, like the FreeBSD one.
The directory option deletes a directory only if the directory in question is
empty. This is a safer alternative to the recursive option is some cases where
you don't want to delete unempty directories.
I have documented the features. Although I am not the best technical writer, I
hope that what I have done is adequate. One thing that I have neglected to do,
intentionally, is to write an automated test. I am not skilled enough or
confident enough in my Perl or shell scripting ability to write such a test.
I would love to hear what I could have done better, or possibly what I have
done wrong. Any comments on my code are very much appreciated. That is a big
part of why I am doing this is to become a better programmer.
Thank you, and with out further ado, here is the patch.
DIFF
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] rm --directory (-d),
pwplusnick2 <=