Mercurial > repos > sem4j > sql_tools
view tab2csv.sh @ 2:701007edc6cf draft
Uploaded
author | sem4j |
---|---|
date | Wed, 25 Sep 2013 02:03:47 -0400 |
parents | |
children |
line wrap: on
line source
if [ -e $3 ] then sed -e 's/\t/,/g' $1 > $2 else sed -e 's/\t/","/g' $1 | sed -e 's/^\|$/"/g' > $2 fi