k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit 5450b0c6022c8ea96b0fe0a4f4542cf4c6e0a297
parent 35c7b051b7f9df608c034cfd15c70ae397778e3f
Author: call-cc <callcc@vxempire.xyz>
Date:   Mon,  1 Jun 2020 16:22:23 -0400

add multiple-argument deletion to rmdir

Diffstat:
Msrc/rmdir.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/rmdir.c b/src/rmdir.c @@ -2,5 +2,8 @@ int main(int argc, char *argv[]) { - rmdir(*argv); + while(*argv) { + rmdir(*argv); + *argv++; + } }