aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/pugl/scripts/cat.py
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/pugl/scripts/cat.py')
-rwxr-xr-xsubprojects/d2tk/pugl/scripts/cat.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/subprojects/d2tk/pugl/scripts/cat.py b/subprojects/d2tk/pugl/scripts/cat.py
new file mode 100755
index 0000000..5f628b6
--- /dev/null
+++ b/subprojects/d2tk/pugl/scripts/cat.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+import sys
+
+for filename in sys.argv[1:]:
+ with open(filename, 'r') as f:
+ sys.stdout.write(f.read())