annotate cpo_combine.sh @ 27:13bf5059984a draft default tip

planemo upload
author jjjjia
date Wed, 29 Aug 2018 17:27:36 -0400
parents a14b12a71a53
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
1 head -1 ${1[1]} > combined.tsv
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
2
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
3 IFS=',' read -ra ADDR <<< "$1" #hax to read in a csv
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
4
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
5 head -1 ${ADDR[0]} > ./combined.tsv
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
6 for i in "${ADDR[@]}"; do
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
7 echo $i
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
8 tail -1 $i >> ./combined.tsv
a14b12a71a53 planemo upload
jjjjia
parents:
diff changeset
9 done