Mercurial > repos > jjjjia > cpo_prediction
view cpo_combiner.sh @ 22:e03c8f2d2629 draft
planemo upload
author | jjjjia |
---|---|
date | Tue, 28 Aug 2018 23:21:34 -0400 |
parents | a14b12a71a53 |
children |
line wrap: on
line source
#!/bin/bash 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