index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2021-01-19 10:30:06 -0800 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-21 17:18:24 +1000 |
commit | 1fdf8c00764af9e32f8dec13061f625f48bd4c8c (patch) | |
tree | 12296a9936cfd870778e3ed55de942ab613aab5a /build-aux/cat-test-file | |
parent | f9bc6c2b09c18dd48f839f53d834c6fd1bfd2dd3 (diff) |
-rwxr-xr-x | build-aux/cat-test-file | 11 |
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='') |