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

planemo upload
author jjjjia
date Wed, 29 Aug 2018 17:27:36 -0400
parents a14b12a71a53
children
line wrap: on
line source

head -1 ${1[1]} > combined.tsv

IFS=',' read -ra ADDR <<< "$1" #hax to read in a csv

head -1 ${ADDR[0]} > ./combined.tsv
for i in "${ADDR[@]}"; do
	echo $i
	tail -1 $i >> ./combined.tsv
done