summaryrefslogtreecommitdiffstats
path: root/build-aux/cat-test-file
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/cat-test-file')
-rwxr-xr-xbuild-aux/cat-test-file11
1 files changed, 11 insertions, 0 deletions
diff --git a/build-aux/cat-test-file b/build-aux/cat-test-file
new file mode 100755
index 00000000..1bcc1113
--- /dev/null
+++ b/build-aux/cat-test-file
@@ -0,0 +1,11 @@
+#!/usr/bin/python3
+
+import sys
+
+for path in sys.argv[1:]:
+ print('# -----------------------------------')
+ print('# ' + path + ':')
+ print('# -----------------------------------')
+ with open(path, 'r') as f:
+ for line in f:
+ print('# ' + line, end='')