log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
repos
>
sem4j
>
sql_tools
annotate tab2csv.sh @ 2:
701007edc6cf
draft
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Uploaded
author
sem4j
date
Wed, 25 Sep 2013 02:03:47 -0400
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
2
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
1
if [ -e $3 ]
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
2
then
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
3
sed -e 's/\t/,/g' $1 > $2
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
4
else
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
5
sed -e 's/\t/","/g' $1 | sed -e 's/^\|$/"/g' > $2
701007edc6cf
Uploaded
sem4j
parents:
diff
changeset
6
fi