Mercurial > repos > sem4j > sql_tools
view tab2csv.sh @ 4:cae968c828b8 draft
Uploaded
author | sem4j |
---|---|
date | Wed, 25 Sep 2013 02:45:07 -0400 |
parents | 701007edc6cf |
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