Mercurial > repos > sem4j > sql_tools
view tab2csv.sh @ 7:dc54d40d4748 draft
Uploaded
author | sem4j |
---|---|
date | Mon, 30 Sep 2013 04:09:00 -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