Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | #!/usr/bin/python |
2 | # Copyright (c) 2012 Google Inc. All rights reserved. | ||||
3 | # Use of this source code is governed by a BSD-style license that can be | ||||
4 | # found in the LICENSE file. | ||||
5 | |||||
6 | import sys | ||||
7 | |||||
8 | fh = open(sys.argv[1], 'w') | ||||
9 | |||||
10 | filenames = sys.argv[2:] | ||||
11 | |||||
12 | for filename in filenames: | ||||
13 | subfile = open(filename) | ||||
14 | data = subfile.read() | ||||
15 | subfile.close() | ||||
16 | fh.write(data) | ||||
17 | |||||
18 | fh.close() |