aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cat.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-06 23:53:33 +0100
committerDavid Robillard <d@drobilla.net>2021-01-08 18:13:49 +0100
commit69d5d2adde1d13578a94e8b1934235987cf9b2bd (patch)
tree9720c044447bb12e6e714ac969ebb7b0daf87c5f /scripts/cat.py
parent94e30b9c3c188dfdf4765f026872f95ea3cfdda2 (diff)
downloadpugl-69d5d2adde1d13578a94e8b1934235987cf9b2bd.tar.gz
pugl-69d5d2adde1d13578a94e8b1934235987cf9b2bd.tar.bz2
pugl-69d5d2adde1d13578a94e8b1934235987cf9b2bd.zip
Switch to Meson
Diffstat (limited to 'scripts/cat.py')
-rwxr-xr-xscripts/cat.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cat.py b/scripts/cat.py
new file mode 100755
index 0000000..5f628b6
--- /dev/null
+++ b/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())