Mercurial > repos > sem4j > sql_tools
view tab2csv.sh @ 8:51847f1c0acb draft default tip
Uploaded
author | sem4j |
---|---|
date | Mon, 30 Sep 2013 04:09:36 -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