comparison cpo_combiner.sh @ 13:a14b12a71a53 draft

planemo upload
author jjjjia
date Sat, 25 Aug 2018 20:56:37 -0400
parents
children
comparison
equal deleted inserted replaced
12:4b2738bc81ed 13:a14b12a71a53
1 #!/bin/bash
2
3 head -1 ${1[1]} > combined.tsv
4
5 IFS=',' read -ra ADDR <<< "$1" #hax to read in a csv
6
7 head -1 ${ADDR[0]} > ./combined.tsv
8 for i in "${ADDR[@]}"; do
9 echo $i
10 tail -1 $i >> ./combined.tsv
11 done