[Lemon-commits] Peter Kovacs: Fix and extend the migration scrip...
Lemon HG
hg at lemon.cs.elte.hu
Fri Mar 27 11:37:31 CET 2009
details: http://lemon.cs.elte.hu/hg/lemon/rev/b779c4dc7496
changeset: 583:b779c4dc7496
user: Peter Kovacs <kpeter [at] inf.elte.hu>
date: Fri Mar 27 07:24:52 2009 +0100
description:
Fix and extend the migration script (#245)
diffstat:
tools/lemon-0.x-to-1.x.sh | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
diffs (51 lines):
diff --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh
--- a/tools/lemon-0.x-to-1.x.sh
+++ b/tools/lemon-0.x-to-1.x.sh
@@ -22,26 +22,25 @@
-e "s/\<directed edges\>/_ar_c_label_s/g"\
-e "s/UGraph/_Gr_aph_label_/g"\
-e "s/u[Gg]raph/_gr_aph_label_/g"\
- -e "s/\<Graph\>/_Digr_aph_label_/g"\
+ -e "s/Graph\>/_Digr_aph_label_/g"\
-e "s/\<graph\>/_digr_aph_label_/g"\
- -e "s/\<Graphs\>/_Digr_aph_label_s/g"\
+ -e "s/Graphs\>/_Digr_aph_label_s/g"\
-e "s/\<graphs\>/_digr_aph_label_s/g"\
- -e "s/_Graph/__Gr_aph_label_/g"\
- -e "s/\([Gg]\)raph\([a-z_]\)/_\1r_aph_label_\2/g"\
+ -e "s/\([Gg]\)raph\([a-z]\)/_\1r_aph_label_\2/g"\
-e "s/\([a-z_]\)graph/\1_gr_aph_label_/g"\
-e "s/Graph/_Digr_aph_label_/g"\
-e "s/graph/_digr_aph_label_/g"\
-e "s/UEdge/_Ed_ge_label_/g"\
-e "s/u[Ee]dge/_ed_ge_label_/g"\
-e "s/IncEdgeIt/_In_cEd_geIt_label_/g"\
- -e "s/\<Edge\>/_Ar_c_label_/g"\
+ -e "s/Edge\>/_Ar_c_label_/g"\
-e "s/\<edge\>/_ar_c_label_/g"\
- -e "s/\<Edges\>/_Ar_c_label_s/g"\
+ -e "s/_edge\>/_ar_c_label_/g"\
+ -e "s/Edges\>/_Ar_c_label_s/g"\
-e "s/\<edges\>/_ar_c_label_s/g"\
- -e "s/_Edge/__Ed_ge_label_/g"\
- -e "s/Edge\([a-z_]\)/_Ed_ge_label_\1/g"\
- -e "s/edge\([a-z_]\)/_ed_ge_label_\1/g"\
- -e "s/\([a-z_]\)edge/\1_ed_ge_label_/g"\
+ -e "s/_edges\>/_ar_c_label_s/g"\
+ -e "s/\([Ee]\)dge\([a-z]\)/_\1d_ge_label_\2/g"\
+ -e "s/\([a-z]\)edge/\1_ed_ge_label_/g"\
-e "s/Edge/_Ar_c_label_/g"\
-e "s/edge/_ar_c_label_/g"\
-e "s/A[Nn]ode/_Re_d_label_/g"\
@@ -116,6 +115,11 @@
-e "s/\<arcSubGraphAdaptor\>/filterEdges/g"\
-e "s/\<DirGraphAdaptor\>/Orienter/g"\
-e "s/\<dirGraphAdaptor\>/orienter/g"\
+ -e "s/\<LpCplex\>/CplexLp/g"\
+ -e "s/\<MipCplex\>/CplexMip/g"\
+ -e "s/\<LpGlpk\>/GlpkLp/g"\
+ -e "s/\<MipGlpk\>/GlpkMip/g"\
+ -e "s/\<LpSoplex\>/SoplexLp/g"\
<$i > $TMP
mv $TMP $i
done
More information about the Lemon-commits
mailing list