projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge commit '3b735dd9330e0989f51a76771c3303031154154e' into 21158-wf-page-list
[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()