view tab2csv.sh @ 5:d316d1155e08 draft

Uploaded
author sem4j
date Wed, 25 Sep 2013 02:45:30 -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