projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
21128: Merge commit 'adbbc9e3c7a36d39b30f403555ee5889e32adcc0' into 21128-toolbar...
[arvados.git]
/
doc
/
user
/
cwl
/
federated
/
merge.py
1
import sys
2
import csv
3
4
merged = open("merged.csv", "wt")
5
6
wroteheader = False
7
for s in sys.argv[1:]:
8
f = open(s, "rt")
9
header = next(f)
10
if not wroteheader:
11
merged.write(header)
12
wroteheader = True
13
for l in f:
14
merged.write(l)
15
f.close()