summaryrefslogtreecommitdiffstats
path: root/build-aux/cat-test-file
blob: 1bcc111303469d89c84c64a5179de6c691ae28b6 (plain)
1
2
3
4
5
6
7
8
9
10
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='')