summaryrefslogtreecommitdiff
path: root/shell/bin/rm.php
diff options
context:
space:
mode:
Diffstat (limited to 'shell/bin/rm.php')
-rw-r--r--shell/bin/rm.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/bin/rm.php b/shell/bin/rm.php
new file mode 100644
index 0000000..7bb7aef
--- /dev/null
+++ b/shell/bin/rm.php
@@ -0,0 +1,8 @@
+<?php
+function main($args) {
+ $me = array_shift($args);
+ foreach ($args as $file) {
+ unlink($file);
+ }
+}
+