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